[Openmcl-devel] How to determine a method's instance to access slot values
pbpublist at comcast.net
Thu May 18 02:14:30 UTC 2006
Gary Byers wrote:
> On Wed, 17 May 2006, Phil wrote:
>> My general question is how to determine/access an object instance within
>> an objective-C method which doesn't pass the instance as a parameter.
> The "receiver" (the object that "receives the message", in ObjC
> terms) is always passed as a parameter.
> DEFINE-OBJC-METHOD names this parameter SELF (in whatever package
> is current when the DEFINE-OBJC-METHOD form is expanded) and declares
> it to be IGNORABLE.
Excellent... problem solved. That's exactly what I would have expected
had I thought to try it ;-) It might be worth putting this info into
the Cocoa Bridge doc.
More information about the Openmcl-devel