Re: Need help with setNeedsDisplay - Another Update
Re: Need help with setNeedsDisplay - Another Update
- Subject: Re: Need help with setNeedsDisplay - Another Update
- From: j o a r <email@hidden>
- Date: Sat, 10 Mar 2007 23:13:26 +0100
On 10 mar 2007, at 23.01, Erik Buck wrote:
Did you create an extra instance of the view in Interface
Builder... other than the one in the window ? Several people have
inadvertently ended up with two instances of their view and made
connections/updates to the wrong one.
The view instance in the window will draw. Any view instance in
the instances pane of the Interface Builder document will not draw
because it isn't contained in any window.
Just what I was going to suggest. This was the problem last time this
topic was discussed on the list!
Verify that the view instance that you call "setNeedsDisplay:" on,
and the view that you monitor for updates, are the same object
instance! You can do this in the debugger, or using simple log
statements.
j o a r
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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