18 typedef struct objc_object *
id;
23 typedef const struct objc_selector *
SEL;
28 typedef struct objc_class *
Class;
53 #define Nil ((Class)0) 80 #if __has_attribute(objc_root_class) 81 #define OBJC_ROOT_CLASS __attribute__((objc_root_class)) 83 #define OBJC_ROOT_CLASS 94 #if __has_attribute(unused) 95 #define OBJC_UNUSED __attribute__((unused)) 109 #define OBJC_REQUIRES_NIL_TERMINATION size_t class_getInstanceSize(Class cls)
Returns the size of an instance of a class.
BOOL class_metaclassRespondsToSelector(Class cls, SEL sel)
Checks if a class object responds to a selector.
BOOL proto_conformsTo(objc_protocol_t *protocol, objc_protocol_t *otherProtocol)
Checks if a protocol conforms to another protocol.
Class object_getSuperclass(id obj)
Returns the superclass of an object.
id(* IMP)(id, SEL,...)
A pointer to a method implementation.
const char * object_getClassName(id obj)
Returns the name of an object's class.
BOOL object_isKindOfClass(id object, Class cls)
Checks if an instance class matches, or subclass of another class.
void object_setClass(id object, Class cls)
Sets the class of an object.
BOOL object_respondsToSelector(id object, SEL sel)
Checks if an instance's class responds to a selector.
struct objc_protocol objc_protocol_t
An instance of a protocol.
Class class_getSuperclass(Class cls)
Returns the superclass of a class.
Class object_getClass(id object)
Returns the class of an object.
BOOL class_respondsToSelector(Class cls, SEL sel)
Checks if an instance of a class responds to a selector.
Class objc_lookupClass(const char *name)
Looks up a class by name.
const char * proto_getName(objc_protocol_t *protocol)
Returns the name of a protocol.
const char * sel_getName(SEL sel)
Returns the name of a selector.
bool BOOL
A Boolean value.
struct objc_method * Method
A pointer to a method.
BOOL class_conformsTo(Class cls, objc_protocol_t *otherProtocol)
Checks if a class conforms to a protocol.
struct objc_class * Class
A pointer to a class definition.
const struct objc_selector * SEL
A pointer to a method selector.
const char * class_getName(Class cls)
Returns the name of a class.
struct objc_object * id
A pointer to an instance of a class.