NSObjectProtocol
The NSObjectProtocol
groups methods that are fundamental to all Foundation objects.
protocol NSObjectProtocol : AnyObject
Browse conforming typesIf an object conforms to this protocol, it can be considered a first-class object.
The Cocoa root class, NSObject, adopts this protocol, so all objects inheriting from NSObject have the features described by this protocol.