Animation for drawRect drawings

Christian 'fuzi' Orgler picture Christian 'fuzi' Orgler · Sep 8, 2011 · Viewed 16k times · Source

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.

Answer

Oded Ben Dov picture Oded Ben Dov · Sep 15, 2011