Skip to content
charmotion
Play video

Plays from YouTube in privacy-enhanced mode. Nothing loads from YouTube until you press play.

How do I add animation to a SwiftUI app?

Published · 0:26

Wrap a state change in withAnimation or attach .animation(_:value:) to a view, and SwiftUI interpolates the difference. For multi-step motion, use PhaseAnimator or KeyframeAnimator, available from iOS 17. For designer-made characters, add the Lottie or Rive runtime through Swift Package Manager.

Illustrated with our own character, Sparky. Not affiliated with any company or product mentioned.

Watch on YouTube

Read more

See your own character move

Upload one image and get a free animated preview.

Free preview

More videos

All videos