• 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
Re: Determining Class from Instance address
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Determining Class from Instance address


  • Subject: Re: Determining Class from Instance address
  • From: Jerry Krinock <email@hidden>
  • Date: Fri, 21 Mar 2008 07:57:34 -0700


On 2008 Mar, 21, at 7:40, Joseph Ayers wrote:

How does one determine the sender and self....
In my code VideoController doesn't get sent measureMethodChanged...

Does VideoController implement measureMethodChanged: ? (Note carefully the colon which is part of the name.)


If not, then implement it. Senders are not known because that would break the golden rule of encapsulation. But you can find out the sender by setting an NSLog() in that implementation and also placing a breakpoint. Do a debug build, Debug and look at the stack when it breaks there.
_______________________________________________


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


References: 
 >Determining Class from Instance address (From: Joseph Ayers <email@hidden>)

  • Prev by Date: Re: Determining Class from Instance address
  • Next by Date: Re: iPhone/iPod Touch
  • Previous by thread: Re: Determining Class from Instance address
  • Next by thread: Re: Determining Class from Instance address
  • Index(es):
    • Date
    • Thread