Objective-C Language Basic Protocol Definition


Example

Defining a new protocol:

@protocol NewProtocol

- (void)protocolMethod:(id)argument;

- (id)anotherMethod;

@end