Hi all!
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.
So my question is, what is the correct way to ask my view to be redrawn?
Thanks and best wishes,
Artemiy.
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com