Objective-C 2.0 Runtime Reference
PDF
Overview
Who Should Read This Document
Functions by Task
Working with Classes
Adding Classes
Instantiating Classes
Working with Instances
Obtaining Class Definitions
Working with Instance Variables
Sending Messages
Forwarding Messages
Working with Methods
Working with Selectors
Working with Protocols
Working with Properties
Functions
class_addIvar
class_addMethod
class_addProtocol
class_conformsToProtocol
class_copyIvarList
class_copyMethodList
class_copyPropertyList
class_copyProtocolList
class_createInstance
class_getClassMethod
class_getClassVariable
class_getInstanceMethod
class_getInstanceSize
class_getInstanceVariable
class_getIvarLayout
class_getMethodImplementation
class_getMethodImplementation_stret
class_getName
class_getProperty
class_getSuperclass
class_getVersion
class_getWeakIvarLayout
class_isMetaClass
class_replaceMethod
class_respondsToSelector
class_setIvarLayout
class_setSuperclass
class_setVersion
class_setWeakIvarLayout
ivar_getName
ivar_getOffset
ivar_getTypeEncoding
marg_free
marg_getRef
marg_getValue
marg_malloc
marg_setValue
method_copyArgumentType
method_copyReturnType
method_exchangeImplementations
method_getArgumentType
method_getImplementation
method_getName
method_getNumberOfArguments
method_getReturnType
method_getTypeEncoding
method_setImplementation
objc_allocateClassPair
objc_copyProtocolList
objc_duplicateClass
objc_getClass
objc_getClassList
objc_getFutureClass
objc_getMetaClass
objc_getProtocol
objc_getRequiredClass
objc_lookUpClass
objc_msgSend
objc_msgSendSuper
objc_msgSendSuper_stret
objc_msgSend_fpret
objc_msgSend_stret
objc_registerClassPair
objc_setFutureClass
object_copy
object_dispose
object_getClass
object_getClassName
object_getIndexedIvars
object_getInstanceVariable
object_getIvar
object_setClass
object_setInstanceVariable
object_setIvar
property_getAttributes
property_getName
protocol_conformsToProtocol
protocol_copyMethodDescriptionList
protocol_copyPropertyList
protocol_copyProtocolList
protocol_getMethodDescription
protocol_getName
protocol_getProperty
protocol_isEqual
sel_getName
sel_getUid
sel_isEqual
sel_registerName
Data Types
Class-Definition Data Structures
Class
Method
Ivar
Category
objc_property_t
IMP
marg_list
SEL
objc_method_list
objc_cache
objc_protocol_list
Instance Data Types
id
objc_object
objc_super
Boolean Value
BOOL
Constants
Boolean Values
Null Values
Appendix A: Mac OS X Version 10.5 Delta
Runtime Functions
Basic types
Instances
Class Inspection
Class Manipulation
Methods
Instance Variables
Selectors
Runtime
Messaging
Protocols
Exceptions
Synchronization
NXHashTable and NXMapTable
Structures
Revision History
Index
Companion Guides
Objective-C 2.0 Runtime Programming Guide
The Objective-C 2.0 Programming Language