DEV Community

Cover image for iOS — Animations in SwiftUI with Examples — Part 2
Raksha for Canopas Software

Posted on

3 1

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.

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

Top comments (0)

Billboard image

📊 A side-by-side product comparison between Sentry and Crashlytics

A free guide pointing out the differences between Sentry and Crashlytics, that’s it. See which is best for your mobile crash reporting needs.

See Comparison

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay