Expand description
Raw bindings to Objective-C runtimes
These bindings contain almost no documentation, so it is highly recommended to read the documentation of the original libraries:
- Apple’s official documentation.
- Apple’s
objc4source code, in particularruntime.h. - GNUStep’s
libobjc2source code, in particularruntime.h.
See also the README.md for more
background information, and for how to configure the desired runtime.
Structs
- An opaque type that represents an Objective-C class.
- An opaque type that represents an instance variable.
- A type that represents a method in a class definition.
- Describes an Objective-C method.
- An opaque type that represents an object / an instance of a class.
- An opaque type that describes a property in a class.
- Describes an Objective-C property attribute.
- Opaque type for Objective-C protocols.
- An opaque type that represents a method selector.
- Specifies data used when sending messages to superclasses.
Constants
- The equivalent of
falsefor Objective-C’sBOOLtype. - The maximum value for an NSInteger.
- The minimum value for an NSInteger.
- The maximum value for an NSUInteger.
- A quick alias for a
null_mutclass. - Only relevant before macOS 10.13
- Only relevant before macOS 10.13
- The equivalent of
truefor Objective-C’sBOOLtype. - A quick alias for a
null_mutobject / instance.
Functions
- objc_constructInstance⚠Deprecated
- objc_destructInstance⚠Deprecated
- See
objc-exception.h. - objc_getFutureClass⚠Deprecated
- object_copy⚠Deprecated
- object_dispose⚠Deprecated
- object_getInstanceVariable⚠Deprecated
- object_setInstanceVariable⚠Deprecated
Type Definitions
- The Objective-C
BOOLtype. - A nullable pointer to the start of a method implementation.
- A signed integer value type.
- Describes an unsigned integer.
- An immutable pointer to a selector.
- A mutable pointer to an object / instance.
- Remember that this is non-null!
- Remember that this is non-null!
- Remember that this is non-null!
- Remember that this is non-null!