Skip to content

Animated counter, line chart, radial chart, stretch ball

Notifications You must be signed in to change notification settings

YevhenBiiak/Core-Animation

Repository files navigation

Core-Animation

More GIFs

Horizontal layout

Learned how to:

  • draw circle and arc using CAShapeLayer and UIBezierPath
  • animate properties of CoreAnimation classes using CABasicAnimation and CASpringAnimation
  • animate UILabel text content using CADisplayLink
  • replicate layers using CAReplicatorLayer with move and rotate transforms
  • create a CAEmitterLayer layer with CAEmitterCell and manage its properties

Conclusion

Using CABasicAnimation, I have come to the conclusion that the overlaid animation layer disappears after it is launched and does not affect the main layer. Additionally, the base layer can only contain one animation layer.

Used CoreAnimation Classes

CALayer classes Additionally
CALayer UIBezierPath
CAShapeLayer CABasicAnimation
CAEmitterLayer CASpringAnimation
CAEmitterCell CADisplayLink
CAReplicatorLayer CGAffineTransforms