SwiftUI wrapper of Lottie lib from airbnb
SPM: add https://github.com/nbapps/LottieKit.git
package
A description of this package.
import LottieKit
,
Optiannal, create enum LottieFiles: String
with all names of lottie json and call LottieView and pass the rawValue
of the enum case
Then just add LottieView(file: lottieFileName)
to view and voila.
Check out the demo project to learn more.