Re: custom view won't update
Re: custom view won't update
- Subject: Re: custom view won't update
- From: H M <email@hidden>
- Date: Tue, 11 Sep 2007 13:23:40 +0100
Given what you have posted so far I believe you are not sending
the setNeedsDisplay: message to an instance of your view that is
actually in the view hierarchy of your window but one that is
either instantiated off by itself in the nib or instantiated in
code (and not the one in the view hierarchy).
that would explain why it doesn't work. I'm gonna try to find out...
I put an NSLog into drawRect: and one in one of the action methods,
and they reported different addresses (or whatever that number means).
Ok, so now I know why it doesn't work, now the question is, what can
I do about it?
--
GPG Key ID: 92AD877F7E4E32B9
Fingerprint: 16B0 7DCD 3AB0 0C45 F5FD 581D 92AD 877F 7E4E 32B9
_______________________________________________
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