Re: Need help with setNeedsDisplay - Update
Re: Need help with setNeedsDisplay - Update
- Subject: Re: Need help with setNeedsDisplay - Update
- From: Yevgeniy Goldberg <email@hidden>
- Date: Sat, 10 Mar 2007 12:52:54 -0600
I've just realized that drawRec is not even being called after I
change the variables and call
[self setNeedsDisplay:YES]
Any ideas as to why the drawRec is not being called?
On Mar 10, 2007, at 12:39 PM, Yevgeniy Goldberg wrote:
Greetings!
In my custom view I have a few straight lines, who's start and end
points being set as instance variables within the view's class.
When the user causes the values for these variables to change I
need to update the view.
All of my drawing routines are in the drawRec.
I have a separate method within this custom view class that changes
the values for the variables.
After changing the values I call [self setNeedsDisplay:YES]
In my run log I can see that all the relevant methods get triggered
as they should.
However, the view does not redraw.
What could be wrong?
_______________________________________________
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