NSObject
suggest changeIntroduction
NSObject is the root class Cocoa uses for most class hierarchies. The Objective-C language itself does not define a root class; Cocoa does. Subclasses inherit a basic interface to the runtime and the ability to behave as Objective-C objects.
This class provides the basic behavior of an Objective-C object, including:
self.
class (name of the class).
superclass (superclass of current class).
Syntax
- self
- superclass
- init
- alloc
- new
- isEqual
- isKindOfClass
- isMemberOfClass
- description
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents