• 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: Flicker Free Drawing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Flicker Free Drawing


  • Subject: Re: Flicker Free Drawing
  • From: Alastair Houghton <email@hidden>
  • Date: Fri, 8 Jan 2010 23:17:20 +0000

On 8 Jan 2010, at 21:06, David Blanton wrote:

> I guess I just choose Buffered in Window Attributes in IB.

Buffered is the default.  So by default, you do precisely nothing.

You can still achieve flickery drawing if you try hard, of course, but you have to do it deliberately one way or another.  All the updates you make from a single -drawRect: call should be flushed at the same time.

Kind regards,

Alastair.

--
http://alastairs-place.net



_______________________________________________

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: 
 >Flicker Free Drawing (From: David Blanton <email@hidden>)
 >Re: Flicker Free Drawing (From: "Paul Sanders" <email@hidden>)
 >Re: Flicker Free Drawing (From: David Blanton <email@hidden>)
 >Re: Flicker Free Drawing (From: David Blanton <email@hidden>)

  • Prev by Date: NSDatePicker 24 hour clock
  • Next by Date: Re: A password strength checker
  • Previous by thread: Re: Flicker Free Drawing
  • Next by thread: programatically updating UI for NSArrayContoller/NSTableView combo
  • Index(es):
    • Date
    • Thread