Objective-C Language NSObject

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Insert
> Step 2: And Like the video. BONUS: You can also share it!

Introduction

NSObject is the root class of Cocoa, however the Objective-C language itself does not define any root classes at all its define by Cocoa, Apple's Framework.This root class of most Objective-C class hierarchies, from which subclasses inherit a basic interface to the runtime system and the ability to behave as Objective-C objects.

This class have all basic property of Objective'C class object like:

self.

class (name of the class).

superclass (superclass of current class).

Syntax

  • self
  • superclass
  • init
  • alloc
  • new
  • isEqual
  • isKindOfClass
  • isMemberOfClass
  • description


Got any Objective-C Language Question?