Handbook
Glossary
METHOD:
Cocoa bridge
ยป
Subclassing Objective C classes
Prev:
<CLASS:
Vocabulary
cocoa
.
subclassing
Syntax
METHOD: return foo: type1 arg1 bar: type2 arg2 baz: ... [ body ] ;
Inputs
None
Outputs
None
Word description
Defines a method inside of a
<CLASS:
form.
See also
define-objc-class
,
<CLASS:
Definition
USING:
alien.parser
arrays
kernel
lexer
sequences
;
IN:
cocoa.subclassing
SYNTAX:
METHOD:
scan-c-type
parse-selector
parse-method-body
[
swap
]
2dip
4array
";"
expect
suffix!
;