Changeset 8483 in project


Ignore:
Timestamp:
02/14/08 21:06:40 (12 years ago)
Author:
Jim Ursetto
Message:

Revert accidental objc update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/objc

    r8480 r8483  
    1 [[tags:eggs macosx]]
     1[[tags:eggs]]
    22
    33This is version 0.4 of the '''objc''' extension library for Chicken Scheme.
     
    77== Description
    88
    9 <!-- This is a comment -->
    109
    1110Scheme to Objective C bridge
     
    1615This egg provides a basic interface to Objective C from Scheme.  You can invoke class and instance methods, access instance variables, and define Objective C classes directly in Scheme.
    1716
    18 This egg [link #Requirements requires Mac OS X and libffi].
     17This egg [[#Requirements|requires Mac OS X and libffi]].
    1918
    2019=== Method invocation
    2120
    22 <highlight language=scheme>
     21
    2322 '''macro:''' (objc:send RECEIVER KEYWORD1 ARGUMENT1 ...)
    24 </highlight>
    2523
    2624Sends the message KEYWORD1 ARGUMENT1 ... to RECEIVER, which is an objc:instance or objc:class object.  This follows the normal Objective C syntax, so the call {{(objc:send myRect setWidth: 15.0 height: 20.0)}} invokes the method {{setWidth:height:}} on myRect, with arguments 15.0 and 20.0.  If the method has no arguments, use a symbol instead of a keyword: {{(objc:send NSScanner alloc)}}.
Note: See TracChangeset for help on using the changeset viewer.