Re: Need help with setNeedsDisplay - Another Update
Re: Need help with setNeedsDisplay - Another Update
- Subject: Re: Need help with setNeedsDisplay - Another Update
- From: Yevgeniy Goldberg <email@hidden>
- Date: Sat, 10 Mar 2007 16:24:35 -0600
Well,
Getting rid of an instance of my custom view in the nib file did not
help.
In fact, after I deleted that instance from the nib nothing was
redrawing even after the window resize.
When I put the custom view instance back into the nib - I got the
redraw upon window resize, which still leaves the original problem in
place.
On Mar 10, 2007, at 4:13 PM, j o a r wrote:
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
_______________________________________________
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
_______________________________________________
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