Re: How to redraw a view in slow-motion
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