Joy Online Manual
About Joy's Objective-C commands
Joy provides a number of commands to inspect and modify the Objective-C run-time. All commands start with the objc: prefix and are described in this section of the Joy manual. In addition, the following commands similar to Objective-C are supported: |
object messageName ?arg1 arg2 ...?
Messaging like in Objective-C. The arguments may be written between the parts of messageName separated by colons. Brackets are only needed for nesting. |
[constant]
Returns the value of a constant (e.g. [NULL] returns char@0x0). |
* id
Shorthand for id cString - converts an NSString into a Tcl string. |
@ string
Shorthand for NSString stringWithCString: string - converts a Tcl string into an NSString. string needs only be quoted when containing spaces. |
See the Language Summary for a more detailed overview of Joy's Objective-C commands. |