Re: how to redraw a view
Re: how to redraw a view
- Subject: Re: how to redraw a view
- From: Uli Kusterer <email@hidden>
- Date: Fri, 26 Nov 2010 16:52:50 +0100
On Nov 24, 2010, at 6:50 PM, Artemiy Pavlov wrote:
> I have a view whose drawRect method draws a plot according to a few parameters which are global variables. When I change these variables according to the user input, I want to update that plot, so I need the drawRect method of my view to be called. I tried [self setNeedsDisplay] or [MyView setNeedsDisplay] but this doesn't work.
Is this iOS or MacOS?
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
_______________________________________________
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