• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: drawRect not getting called when needed under OS X
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >drawRect not getting called when needed under OS X (From: Tom Jeffries <email@hidden>)
 >Re: drawRect not getting called when needed under OS X (From: Graham Cox <email@hidden>)
 >Re: drawRect not getting called when needed under OS X (From: Tom Jeffries <email@hidden>)

  • Prev by Date: Re: drawRect not getting called when needed under OS X
  • Next by Date: Re: drawRect not getting called when needed under OS X
  • Previous by thread: Re: drawRect not getting called when needed under OS X
  • Next by thread: Re: drawRect not getting called when needed under OS X
  • Index(es):
    • Date
    • Thread