• 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: How to redraw a view in slow-motion
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to redraw a view in slow-motion


  • Subject: Re: How to redraw a view in slow-motion
  • From: Matthias Arndt <email@hidden>
  • Date: Sun, 19 Jun 2011 22:49:18 +0200

Am 19.06.2011 um 19:05 schrieb email@hidden:

> If you keep the animation short (say 1.5 to 2 seconds) the freezes might not be too irksome to the user [...] CALayer look like an attractive option.

Even with only 0.01 seconds sleep after drawing each path the UI froze completely: It seems the loop iteration didn't allow any mouse or key events to come through. CALayer will give me something to think about the next weeks (completely new to me), my current approach uses an NSTimer to redraw the paths with an increasing upper limit: Surprisingly with a sufficient performance (if the graphic don't become too complex ... some improvements are still needed).

Thanks for your support!

Mattes _______________________________________________

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

  • Prev by Date: Re: Progress Indicators Spin vs Bar
  • Next by Date: Re: Synthesised properties and additional actions
  • Previous by thread: Re: How to redraw a view in slow-motion
  • Next by thread: Non-rectangular image of NSView for dragging
  • Index(es):
    • Date
    • Thread