Objective-C Language Protocols Check conforms Protocol


Example

Returns a Boolean indicating if the class conform the protocol:

[MyClass conformsToProtocol:@protocol(MyProtocol)];