Lottie 4 SwiftUI

Опубликовано: 22 Январь 2023
на канале: Stewart Lynch
8,237
249

In this video I will introduce you to Lottie 4.0, Lottie is Airbnb’s cross-platform, open-source library for rendering vector motion graphics. Lottie is used extensively at Airbnb, and it also powers animations in thousands of other apps throughout the industry.

In this video, I will take you through my learning process for building a UIViewRepresentable so you can easily implement Lottie animations into your SwiftUI apps.

If you want to support my work, you can buy me a coffee :)
https://ko-fi.com/stewartlynch

Table of Contents:
0:00 Introduction
3:29 Simple UIViewRepresentable
11:23 Celebration View
12:41 A Better UIViewRepresentable
21:00 Exploding Like Button

Starter Project Files:
https://www.createchsol.com/StarterPr...

Completed Project:
https://github.com/StewartLynch/Lotti...

References mentioned in video:
Lottie Files Site
https://lottiefiles.com/
iOS Swift Package
https://github.com/airbnb/lottie-ios
UIKit/SwiftUI Integration
   • UIKit Integration with SwiftUI  

Animation Sample
Polite Chicky
https://lottiefiles.com/126433-chick-2
Progress Dots
https://lottiefiles.com/18776-progres...
Cascading Like
https://lottiefiles.com/5756-like-5x
Confetti
https://lottiefiles.com/62717-confetti

Other References:
Stewart Lynch's YouTube Channel:
   / @stewartlynch  
Stewart Lynch on Twitter:
  / stewartlynch  
Stewart Lynch on LinkedIn
  / stewartlynch