Module objc::runtime [] [src]

A Rust interface for the functionality of the Objective-C runtime.

For more information on foreign functions, see Apple's documentation: https://developer.apple.com/library/mac/documentation/Cocoa/Reference/ObjCRuntimeRef/index.html

Structs

Class

A type that represents an Objective-C class.

Ivar

A type that represents an instance variable.

Method

A type that represents a method in a class definition.

Object

A type that represents an instance of a class.

Sel

A type that represents a method selector.

Super

Specifies the superclass of an instance.

Constants

NO

The equivalent of false for Objective-C's BOOL type.

YES

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

Functions

class_addIvar
class_addMethod
class_copyIvarList
class_copyMethodList
class_getInstanceMethod
class_getInstanceSize
class_getInstanceVariable
class_getName
class_getSuperclass
ivar_getName
ivar_getOffset
ivar_getTypeEncoding
method_copyArgumentType
method_copyReturnType
method_exchangeImplementations
method_getImplementation
method_getName
method_getNumberOfArguments
method_setImplementation
objc_allocateClassPair
objc_copyClassList
objc_disposeClassPair
objc_getClass
objc_getClassList
objc_msgSend
objc_msgSendSuper
objc_msgSendSuper_stret
objc_msgSend_stret
objc_registerClassPair
object_getClass
sel_getName
sel_registerName

Type Definitions

BOOL

The Objective-C BOOL type.

Imp

A pointer to the start of a method implementation.