Expand description

Gain low-level access to the Objective-C runtime and the Objective-C root types.

Modules

Functionality for declaring Objective-C classes.
Macros for working with the Objective-C runtime
Utilities for reference counting Objective-C objects.
A Rust interface for the functionality of the Objective-C runtime.
Traits for the Objective-C runtime.

Macros

Gets a reference to a Class.
Sends a message to an object.
Registers a selector, returning a Sel.

Structs

An Objective-C type encoding.
A pointer type for Objective-C’s reference counted objects.
An error encountered while attempting to send a message.
A simple container for a single C or Objective-C data item.
A pointer type for a weak reference to an Objective-C reference counted object.

Enums

A type used to mark that a struct owns the object(s) it contains, so it has the sole references to them.
A type used to mark that the object(s) a struct contains are shared, so there may be other references to them.

Constants

Defines the id of a null instance.

Traits

Types that have an Objective-C type encoding.
Types that represent a group of arguments, where each has an Objective-C type encoding.
A trait containing all the methods for NSValue
Types that may be sent Objective-C messages. For example: objects, classes, and blocks.
Types that may be used as the arguments of an Objective-C message.
A type that marks what type of ownership a struct has over the object(s) it contains; specifically, either Owned or Shared.

Type Definitions

A convenient alias for a shared Id.
An ID for an Objective-C object.

Attribute Macros