A pointer to an instance of a class.


struct objc_object


When you create an instance of a particular class, the allocated memory contains an objc_object data structure, which is directly followed by the data for the instance variables of the class.

The alloc and allocWithZone: methods of the Foundation framework class NSObject use the function class_createInstance(_:_:) to create objc_object data structures.


Instance Properties

var isa: AnyClass

A pointer to the class definition of which this object is an instance.


See Also

Instance Data Types

struct objc_super

Specifies the superclass of an instance.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software