Joy Online Manual

NAME
ObjC - Provides some functions to interface with the Objective-C runtime

DESCRIPTION
ObjC is a top-level, predefined JavaScript object. You can automatically access it without using a constructor or calling a method.

Some methods of the ObjC object are used internally by Joy and not documented.

PROPERTIES

registerIdsOnAlloc

Boolean flag that determines if Objective-C objects are registered immediately on allocation.  See the id type description for details about how objects become known to Joy.

METHODS

allClassMethodsOf - class methods of a class and its superclasses
allClassObjectsOf - class and metaclass objects of a class and its subclasses
allInstanceMethodsOf - instance methods of a class or object and its superclasses
allInstancesOf - instances of a class and its subclasses
allIvarsOf - instance variables of a class or object and its superclasses
allProtocolsOf - protocols adopted by a class or object, other protocols, and superclasses
allSubclassesOf - direct and indirect subclasses of a class
classes - available classes
classMethodsOf - class methods of a class or object
classObjects - available class and metaclass objects
classObjectsOf - class and metaclass objects of a class
functions - available C functions
imported - imported header files
instanceMethodsOf - instance methods of a class or object
instances - available objects
instancesOf - instances of a class
ivarsOf - instance variables of a class or object
macros - available macro constants
protocols - available protocols
protocolsOf - protocols adopted by a class or object
subclassesOf - direct subclasses of a class
typedefs - available type definitions
unteach - Remove Objective-C methods implemented in JavaScript
variables - available C variables

Index