cocoa.messages vocabulary
Factor handbook ยป Vocabulary index


Summary
Support and syntax for Objective C message sending

Metadata
Authors:Slava Pestov
Platforms:macosx


Words

Tuple classes
ClassSuperclassSlots
no-objc-method tuplename
no-objc-type tuplename
selector-tuple tuplename object


Macro words
WordStack effect
(send)( signature selector super? -- quot )


Symbol words
alien>objc-types
class-init-hooks
message-senders
objc-methods
objc>alien-types
objc>struct-types
super-message-senders


Ordinary words
WordStack effect
(objc-class)( name word -- class )
(parse-objc-type)( i string -- ctype )
<selector>( name -- sel )
<super>( receiver -- super )
?lookup-objc-method( name -- signature/f )
cache-stub( signature function assoc -- )
cache-stubs( signature -- )
class-exists?( string -- class )
decode-type( ch -- ctype )
define-objc-class-word( quot name -- )
each-method-in-class( class quot: ( classname method -- ) -- )
import-objc-class( name quot -- )
lookup-objc-method( name -- signature )
lookup-selector( name -- alien )
make-prepare-send( selector signature super? -- quot )
make-sender( signature function -- quot )
method-arg-type( method i -- type )
method-arg-types( method -- args )
method-collisions( -- collisions )
method-name( method -- name )
method-return-type( method -- ctype )
method-signature( method -- signature )
no-objc-method( name -- * )
no-objc-type( name -- * )
objc-class( string -- class )
objc-meta-class( string -- class )
objc-protocol( string -- class )
objc-struct-type( i string -- ctype )
parse-objc-type( string -- ctype )
register-objc-method( classname method -- )
register-objc-methods( class -- )
root-class( class -- root )
selector( selector -- alien )
selector-name( name -- name' )
send( receiver args... signature selector -- return... )
sender-stub( signature function -- word )
sender-stub-name( signature -- str )
super-send( receiver args... signature selector -- return... )


Class predicate words
WordStack effect
no-objc-method?( object -- ? )
no-objc-type?( object -- ? )
selector-tuple?( object -- ? )


Files


Metadata files