Animate a line drawn in a CGContext

Is there a way to animate a line or circle drawn using Core Graphics?

Thanks in advance!

+3
source share
1 answer

You will have to draw a smaller line segment and continue to draw it longer. With a circle, you need to draw a small arc and continue to draw a large one until a circle appears.

+1
source

Source: https://habr.com/ru/post/1717708/


All Articles