cocoa.messages vocabulary
Factor handbook ยป Vocabulary index


Summary
Support and syntax for Objective C message sending

Metadata
Parents:cocoa
Authors:Slava Pestov
Platforms:macos


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-count( class -- c-direct-array )
method-name( method -- name )
method-return-type( method -- ctype )
method-return-type-parsed( method -- ctype/f )
method-signature( method -- signature )
no-objc-method( name -- * )
no-objc-type( name -- * )
objc-class( string -- class )
objc-class-names( -- seq )
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... )
warn-unknown-objc-method( classname method-name method -- )


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


Files


Metadata files