Re: Determining Class from Instance address
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