Member-only story
Animate your SwiftUI apps in 4 minutes
In just four minutes, this article will teach you how to add beautiful animations to your SwiftUI apps
You ever wondered how some apps like Airbnb have awesome animations on the loading screen. It is easier than it seems to use Lottie animations in your SwiftUI app.
“SwiftUI is an innovative, exceptionally simple way to build user interfaces across all Apple platforms with the power of Swift. Build user interfaces for any Apple device using just one set of tools and APIs. — Wikipedia. The best part is, you can integrate your views with components from UIKit, AppKit and WatchKit framework. SwiftUI has made building user interface straightforward.” — Apple Developer Xcode SwiftUI
“Lottie is an open source animation file format that’s tiny, high quality, interactive, and can be manipulated at runtime. The top 500 apps on the App store now use Lottie to engage users and enhance conversions.” — lottiefiles.com
For the first time, designers can create and ship beautiful animations without an engineer painstakingly recreating it by hand. They say a picture is worth 1,000 words so here are 13,000 — https://airbnb.io/lottie/ and https://airbnb.design/introducing-lottie/