NSObjectProtocol

    The NSObjectProtocol groups methods that are fundamental to all Foundation objects.

    protocol NSObjectProtocol : AnyObject

    If 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.

    Requirements

    Citizens in Foundation

    Subtypes

    Available in FoundationNetworking

    Subtypes