• 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
getting the calling object
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: getting the calling object
      • From: "I. Savant" <email@hidden>
    • Re: getting the calling object
      • From: Nick Zitzmann <email@hidden>
  • Prev by Date: Cocoa based "volume format panel" like the DRBurnSetupPanel class
  • Next by Date: string formatting
  • Previous by thread: Re: Cocoa based "volume format panel" like the DRBurnSetupPanel class
  • Next by thread: Re: getting the calling object
  • Index(es):
    • Date
    • Thread