How to animate line-drawing in iPhone development?

Posted by david on Stack Overflow See other posts from Stack Overflow or by david
Published on 2010-04-17T08:00:34Z Indexed on 2010/04/17 8:03 UTC
Read the original article Hit count: 212

I have been searching around, but there seems no good answer for this simple question. So I am asking again: how to animate line-drawing in iphone dev?

Basically what I want is something like this:

@implementation MyUIView

- (void) triggerLineDrawing: (CGPathRef) path {
   ...
   // animate line drawing here
}

Can it be done?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about objective-c