Re: drawRect not getting called when needed under OS X
Re: drawRect not getting called when needed under OS X
- Subject: Re: drawRect not getting called when needed under OS X
- From: "Stephen J. Butler" <email@hidden>
- Date: Sun, 24 Jul 2011 01:38:18 -0500
On Sat, Jul 23, 2011 at 11:33 PM, Tom Jeffries <email@hidden> wrote:
> When I run the code that displays the graphics in question on initialization
> it works fine, but when I call it later in the program it the new graphics
> are not displayed. The code in the graphics module that displays the window
> is working perfectly, but somehow drawRect never gets called after it is
> called during initialization.
Just to be clear, you're doing one of these two things:
1) all of your drawing *inside the drawRect:* of your subclass.
2) all of your drawing to some sort of temporary context, then copying
it *inside the drawRect:* of your subclass.
_______________________________________________
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