Class Object

Dynamically generated wrapper for any Objective-C instance, class, or meta-class.

Hierarchy

  • Object

Implements

Indexable

[name: string]: any

Constructors

Properties

$class: Object

Class that this object is an instance of.

$className: string

Class name of this object.

$ivars: {
    [name: string]: any;
}

Instance variables on this object. Supports both access and assignment.

Type declaration

  • [name: string]: any
$kind: ObjectKind

Whether this is an instance, class, or meta-class.

$methods: string[]

Native method names exposed by this object’s class and parent classes.

$moduleName: string

Name of module where this object is implemented.

$ownMethods: string[]

Native method names exposed by this object’s class, not including parent classes.

$protocols: {
    [name: string]: Protocol;
}

Protocols that this object conforms to.

Type declaration

$super: Object

Instance used for chaining up to super-class method implementations.

$superClass: Object

Super-class of this object's class.

Methods

  • Determines whether two instances refer to the same underlying object.

    Parameters

    Returns boolean

Generated using TypeDoc