• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Is the sender of an obj-c method implied in the destination's method?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Is the sender of an obj-c method implied in the destination's method?
      • From: Bill Bumgarner <email@hidden>
    • Re: Is the sender of an obj-c method implied in the destination's method?
      • From: j o a r <email@hidden>
  • Prev by Date: "[NSPortCoder sendBeforeTime:sendReplyPort:] timed out ".
  • Next by Date: Re: Need help wrapping my head around bindings
  • Previous by thread: "[NSPortCoder sendBeforeTime:sendReplyPort:] timed out ".
  • Next by thread: Re: Is the sender of an obj-c method implied in the destination's method?
  • Index(es):
    • Date
    • Thread