On Jul 25, 2013, at 7:09 PM, Andreas Mayer <[email protected]> wrote:
> I tried different ways to limit the drawing frequency but ended up with 
> either timers piling up or jittery animation.

 Have you considered using a display link callback instead of a timer? That 
should call you just in time. Or CALayer, which uses (something like a) display 
link internally. You just call setNeedsDisplay: whenever you want a redraw and 
it calls drawRect: whenever it's time to draw and the layer needs display.

Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de


_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to