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:

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 false for Objective-C’s BOOL type.

The maximum value for an NSInteger.

The minimum value for an NSInteger.

The maximum value for an NSUInteger.

A quick alias for a null_mut class.

Only relevant before macOS 10.13

Only relevant before macOS 10.13

The equivalent of true for Objective-C’s BOOL type.

A quick alias for a null_mut object / instance.

Functions

Only available on macOS.

Only available on macOS.

object_copyDeprecated

Type Definitions

The Objective-C BOOL type.

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.

Only available on macOS.

Remember that this is non-null!

Remember that this is non-null!

Remember that this is non-null!