Copyright ©1995 by NeXT Computer, Inc.  All Rights Reserved.


15



The Run-Time System




Classes





Protocol


Inherits From: Object


Getting the Protocol Name

(const char *)name Returns the name of the protocol


Testing for Incorporated Protocols

(BOOL)conformsTo:(Protocol *)aProtocol Returns whether the receiver incorporates aProtocol


Getting Method Descriptions

(struct objc_method_description *)descriptionForInstanceMethod:(SEL)aSelector
Returns information about the aSelector instance method
(struct objc_method_description *)descriptionForClassMethod:(SEL)aSelector
Returns information about the aSelector class method