cocoa.runtime vocabulary
Factor handbook ยป Vocabulary index


Summary
Low-level Objective C runtime binding

Metadata
Parents:cocoa
Authors:Slava Pestov
Platforms:macos


Words

Tuple classes
ClassSuperclassSlots
objc-super struct


Symbol words
Class
Ivar
Method
Protocol
SEL
id


Ordinary words
WordStack effect
CLS_CLASS( -- value )
CLS_FLUSH_CACHE( -- value )
CLS_GROW_CACHE( -- value )
CLS_INITIALIZED( -- value )
CLS_MAPPED( -- value )
CLS_META( -- value )
CLS_METHOD_ARRAY( -- value )
CLS_NEED_BIND( -- value )
CLS_POSING( -- value )
class_addMethod( class name imp types -- char )
class_addProtocol( class protocol -- char )
class_copyMethodList( class outCount -- Method* )
class_createInstance( class additionalByteCount -- id )
class_createInstanceFromZone( class additionalByteCount zone -- id )
class_getClassMethod( class selector -- Method )
class_getClassVariable( class str -- Method )
class_getInstanceMethod( class selector -- Method )
class_getInstanceVariable( class str -- Method )
class_getIvarLayout( class -- uint8_t* )
class_getName( cls -- c-string )
class_getSuperclass( cls -- Class )
class_isMetaClass( cls -- Boolean )
method_copyArgumentType( method index -- void* )
method_copyReturnType( method -- void* )
method_getImplementation( method -- void* )
method_getName( method -- SEL )
method_getNumberOfArguments( method -- uint )
method_getTypeEncoding( method -- void* )
method_setImplementation( method imp -- void* )
objc_allocateClassPair( superclass name extraBytes -- Class )
objc_getAssociatedObject( obj key -- void* )
objc_getClass( class -- Class )
objc_getClassList( buffer bufferLen -- int )
objc_getMetaClass( class -- Class )
objc_getProtocol( class -- Protocol )
objc_registerClassPair( cls -- )
object_getClass( object -- Class )
object_getIvar( class ivar -- void* )
sel_getName( aSelector -- c-string )
sel_isMapped( aSelector -- char )
sel_registerName( str -- SEL )


Class predicate words
WordStack effect
objc-super?( object -- ? )


Files


Metadata files