10

A part of my app is a statistics-function. I draw in a UIView a path and fill it with a color... now I want to make an animation that the path draws through the UIView from the left side to the right side.

I read about CALayer, but I'm not sure how that works... some sample code or links would be great.

Arnaud
  • 7,259
  • 10
  • 50
  • 71
Christian 'fuzi' Orgler
  • 1,682
  • 8
  • 27
  • 51

1 Answers1

11

This is a great post: http://tumbljack.com/post/179975074/complex-interpolation-with-cashapelayer-free

In general this is a duplicate of this: Animating a shape with CoreAnimation

Cheers

Oded

Community
  • 1
  • 1
Oded Ben Dov
  • 9,936
  • 6
  • 38
  • 53