NSObject
NSObject is the root class of most Objective-C class hierarchies in Apple’s Cocoa and Cocoa Touch frameworks. Defined by the Foundation framework, it provides the basic object behavior and runtime features shared by objects in an application, and it serves as a convenient base class for bridging to Swift.
Core responsibilities include object initialization, memory management hooks, and basic introspection. The standard initialization path begins
NSObject provides several facilities for runtime reflection and messaging. Methods such as -class, -superclass, -respondsToSelector:, -isKindOfClass:,
Other common capabilities include the performSelector: family of methods for delayed or thread-specific message delivery, and