Protocol class definition. More...
#import <objc/objc.h>
Instance Methods | |
(const char *) | - name |
Returns the name of the protocol. More... | |
(BOOL) | - conformsTo: |
Checks if this protocol conforms to another protocol. More... | |
![]() | |
(void) | - dealloc |
Free resources for an existing instance. | |
(id) | - init |
Initialize the instance, after allocation. More... | |
(Class) | - class |
Returns the class of the instance. More... | |
(Class) | - superclass |
Returns the superclass of the instance. More... | |
(BOOL) | - isEqual: |
Compares the receiver to another object for equality. More... | |
(BOOL) | - isKindOfClass: |
Returns a Boolean value that indicates whether the receiver is an instance of a given class. More... | |
(NXString *) | - description |
Returns a string that represents the instance. More... | |
![]() | |
(BOOL) | - respondsToSelector: |
Checks if the receiver responds to a selector. More... | |
Additional Inherited Members | |
![]() | |
(void) | + initialize |
Performs one-time initialization for the class. More... | |
(id) | + alloc |
Allocate a new class instance. More... | |
(Class) | + class |
Returns the class object. More... | |
(Class) | + superclass |
Returns the superclass of the class. More... | |
(NXString *) | + description |
Returns a string that represents the class. More... | |
![]() | |
Class | isa |
A pointer to the object's class structure. More... | |
Protocol class definition.
Definition at line 15 of file Protocol.h.
Checks if this protocol conforms to another protocol.
aProtocolObject | The protocol to check conformance against. |
This method determines whether this protocol adopts or inherits from the specified protocol. A protocol conforms to another protocol if it explicitly declares that it adopts the protocol, or if it inherits from a protocol that conforms to the specified protocol.
Implements Object.
- (const char *) name |
Returns the name of the protocol.
Implements Object.