Re: getting the calling object
Re: getting the calling object
- Subject: Re: getting the calling object
- From: "I. Savant" <email@hidden>
- Date: Wed, 3 Oct 2007 16:27:31 -0400
> 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?
You've correclty guessed that you'd have to pass 'self' as an
argument when messaging the other object. If the other object's method
does not allow for a 'sender', you're out of luck.
--
I.S.
_______________________________________________
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