Is the sender of an obj-c method implied in the destination's method?
Is the sender of an obj-c method implied in the destination's method?
- Subject: Is the sender of an obj-c method implied in the destination's method?
- From: Philip Dow <email@hidden>
- Date: Mon, 10 Dec 2007 20:51:25 -0800
So my method just got called, [anObject called]. I'm wondering, does
an implied reference exist to the caller from inside called, like self
and _cmd? I'm looking at NSInvocation, but it doesn't look like
there's an +[NSInvocation currentInvocation] type method.
Is there a way to get this information without explicitly passing the
caller in as a parameter? Would be cool.
~Phi
Journler Developer
email@hidden
_______________________________________________
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