4 Raw Runtime Functions
Finds a registered class by name.
Interns a selector given its name in string form.
Allocates a new Objective-C class.
Registers an Objective-C class.
Returns the class of an object (or the meta-class of a class).
| |||||||||||||||||||||||||||||||||||
| cls : _Class | |||||||||||||||||||||||||||||||||||
| sel : _SEL | |||||||||||||||||||||||||||||||||||
| imp : procedure? | |||||||||||||||||||||||||||||||||||
| type : ctype? | |||||||||||||||||||||||||||||||||||
| type-encoding : string? |
Adds a method to a class. The type argument must be a FFI C
type (see Type Constructors) that matches both imp and and the not
Objective-C type string type-encoding.
| |||||||||||||||||||||||||||||||||||
| cls : _Class | |||||||||||||||||||||||||||||||||||
| name : string? | |||||||||||||||||||||||||||||||||||
| size : exact-nonnegative-integer? | |||||||||||||||||||||||||||||||||||
| log-alignment : exact-nonnegative-integer? | |||||||||||||||||||||||||||||||||||
| type-encoding : string? |
Adds an instance variable to an Objective-C class.
Gets the value of an instance variable whose type is _pointer.
Sets the value of an instance variable whose type is _pointer.
The type of an Objective-C instance variable, an opaque pointer.
| ((objc_msgSend/typed types) obj sel arg) → any/c |
| types : (vector/c result-ctype arg-ctype ...) |
| obj : _id |
| sel : _SEL |
| arg : any/c |
Calls the Objective-C method on _id named by sel.
The types vector must contain one more than the number of
supplied args; the first FFI C type in type is used
as the result type.
| ||||||||||||||||||||||||||||
| types : (vector/c result-ctype arg-ctype ...) | ||||||||||||||||||||||||||||
| super : _objc_super | ||||||||||||||||||||||||||||
| sel : _SEL | ||||||||||||||||||||||||||||
| arg : any/c |
Like objc_msgSend/typed, but for a super call.
| |||
|
Constructor and FFI C type use for super calls.