IN: cocoa.messages
HELP: send
-{ $values { "receiver" alien } { "args..." "method arguments" } { "selector" string } { "return..." "value returned by method, if any" } }
+{ $values { "receiver" alien } { "args..." "method arguments" } { "signature" "signature" } { "selector" string } { "return..." "value returned by method, if any" } }
{ $description "Sends an Objective C message named by " { $snippet "selector" } " to " { $snippet "receiver" } ". The arguments must be on the stack in left-to-right order." }
{ $errors "Throws an error if the receiver does not recognize the message, or if the arguments have inappropriate types." }
{ $notes "This word uses a special fast code path if " { $snippet "selector" } " is a literal and the word containing the call to " { $link send } " is compiled." } ;
HELP: super-send
-{ $values { "receiver" alien } { "args..." "method arguments" } { "selector" string } { "return..." "value returned by method, if any" } }
+{ $values { "receiver" alien } { "args..." "method arguments" } { "selector" string } { "signature" "signature" } { "return..." "value returned by method, if any" } }
{ $description "Sends an Objective C message named by " { $snippet "selector" } " to the super class of " { $snippet "receiver" } ". Otherwise behaves identically to " { $link send } "." } ;
HELP: objc-class
{ }
[
[[
- USING: assocs math kernel namespaces help.syntax help.lint help.lint.private ;
+ USING: assocs definitions math kernel namespaces help.syntax
+ help.lint help.lint.private ;
IN: help.lint.tests
<<
: add-stuff ( x y -- z ) + ;
>>
H{ } clone lint-failures [ \ add-stuff check-word lint-failures get ] with-variable
assoc-empty? [ "help-lint is broken" throw ] when
+ << \ add-stuff forget >>
]] eval( -- )
] unit-test
\ nonexistent forget
\ defined forget
>>
-]] eval( -- )
\ No newline at end of file
+]] eval( -- )