getting the calling object
getting the calling object
- Subject: getting the calling object
- From: Jaime Magiera <email@hidden>
- Date: Wed, 3 Oct 2007 16:11:36 -0400
Hello,
Quickie: I've tried searching the archives and the docs, but I'm
unable to come up with a successful search string for my question. In
Cocoa, is there a mechanism for determining the caller of a method?
Or does that have to be included as a variable in the method?
For example, if Parent calls a method of Child, is there a way for
Child to determine who made the call? or would I have to pass the
Parent's 'self'.
thanks for any info,
Jaime Magiera
Sensory Research
http://www.sensoryresearch.net
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden