DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

Cover image for iOS β€” Animations in SwiftUI with Examples β€” Part 2
Raksha for Canopas Software

Posted on

iOS β€” Animations in SwiftUI with Examples β€” Part 2

Wanna learn Canvas drawing and keyframe animations using SwiftUI?

Hi guys, today we are going to explore how we can implement animations in SwiftUI. The full source code of this project is available onΒ Github, feel free to fork or directly use required animations in your applications.

This post consists of 3 animations:

  1. Progress Dots animationΒ β€” 3 dots that go up and down in a rhythm

  2. ** Pacman animationΒ **β€”We all know and love Pacman right?

  3. TwinCircle animationΒ β€”Two circles animates horizontally while changing size and colors and kind of merge into one.

That’s it for today. Hope you learned something new!

This just touches the base of the SwiftUI animations. It’s possible to design much more complex animations using Canvas, animations API and Math.

For implementation details, visitΒ our company blog.

Top comments (0)

🌚 Browsing with dark mode makes you a better developer.

It's a scientific fact.