0

As you can understand from the title of this question I am trying to achieve fill animation of CALayer(CAShapeLayer) of SVG file.

How complex should be animation you can see from the images I attached.
P1. a few ms after animation start P2. a few ms after P1

I decided to start just with a circle and animate it to fill a layer below. Everything works pretty well. enter image description here

So, I started building UIBezierPath or something like that but it looks like I am going the wrong direction.

I would really appreciate if you can just give me different ideas how to achieve it. For SVG I use SVGKit. Maybe by using these set of classes, I can do something.

Thank you!

O.Daniel
  • 123
  • 12
  • 1
    If you know how to use After Effects, you can use https://github.com/airbnb/lottie-ios. – Enrique Bermúdez Feb 23 '18 at 14:28
  • @EnriqueBermúdez I don't know how to use After Effects but I think it is not a problem. You mean create animation there and use it as a CAShapeLayer? I am not sure how to do it from the XML file. Anyway, thank you for your thoughts. – O.Daniel Feb 23 '18 at 15:18
  • Any update on this? I have a similar need and I'm looking for options. `CABasicAnimation` perhaps? – Axeva Sep 10 '19 at 12:42

0 Answers0