#import <objc/objc.h>
Instance Methods | |
(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... | |
(BOOL) | - conformsTo: |
Checks if the receiver's class conforms to a protocol. More... | |
(BOOL) | - respondsToSelector: |
Checks if the receiver responds to a selector. More... | |
Class Methods | |
(const char *) | + name |
Returns the name of the class. More... | |
Protocol for objects.
The ObjectProtocol defines the minimal interface that objects must implement to provide basic object introspection functionality.
Definition at line 17 of file Object+Protocol.h.
Compares the receiver to another object for equality.
anObject | The object to compare with the receiver. |
When comparing two objects, this method should be overridden to compare the contents of the objects.
Reimplemented in Object.
Returns a Boolean value that indicates whether the receiver is an instance of a given class.
cls | A class object. |
Reimplemented in Object.
|
staticrequired |
Checks if the receiver responds to a selector.
aSelector | The selector to check for. |