Most efficient way to animate a path?
Posted
by mystify
on Stack Overflow
See other posts from Stack Overflow
or by mystify
Published on 2010-05-22T14:47:31Z
Indexed on
2010/05/22
14:50 UTC
Read the original article
Hit count: 185
iphone
I have a fullscreen path which consists of about 20 lines. Currently I am animating changes in this path using an NSTimer which frequently calls -setNeedsDisplay. Believe me: Performance sucks absolutely.
I slightly remember that there was some better way to animate paths on the iPhone. Some kind of special CA layer. I don't remember anymore it's exact name. Who knows?
© Stack Overflow or respective owner