Bhagabata Bhagabata - 1 month ago 7x
Objective-C Question

Who is the base class of NSObject in Objective-C?

I heard

is the main parent class where all classes are derived. But my question is there any class existing where
class is being derived?


NSObject is the primary, but not only, root class of Cocoa. A root class does not have a base class, it is the root of class hierarchy.

Another Cocoa root class is NSProxy.

Note: The above are all root classes of Cocoa, Apple's framework, the Objective-C language itself does not define any root classes at all - this differs from languages like Java and C# where there is a language defined root class or classes.