Our great sponsors
- Appwrite - The open-source backend cloud platform
- InfluxDB - Collect and Analyze Billions of Data Points in Real Time
- Onboard AI - Learn any GitHub repo in 59 seconds
-
When I wrote my app which needed Lottie animations, I found LottieXamarin library, but that only works with Xamarin.Forms not with MAUI. I tried to update it, however I've run into multiple issues and at the same time I've realised only older Lottie versions can be binded, because from March of 2019, Lottie is a Swift library, which means it can't be binded easily.
-
When I wrote my app which needed Lottie animations, I found LottieXamarin library, but that only works with Xamarin.Forms not with MAUI. I tried to update it, however I've run into multiple issues and at the same time I've realised only older Lottie versions can be binded, because from March of 2019, Lottie is a Swift library, which means it can't be binded easily.
-
Appwrite
Appwrite - The open-source backend cloud platform. Add Auth, Databases, Functions, and Storage to your product and build any application at any scale while using your preferred coding languages and tools.
-
This post would like to give a high level overview how view binding can be done, for the details please check the resources above and LottieMaui repo.
-
On iOS side to keep it clean, I've used Carthage to get Lottie. The wrapping is pretty much the same, the goal is to make sure we can set the animation and get the view.
Related posts
- Are Animated JSON and Lotties suitable in functional web development?
- "progress indicator" animation
- Character animations like Duolingo in swiftui
- I built this Lottie animation editor to edit Lottie animations without After Effects! If like me, you use Lottie animations as part of your iOS app UI but struggle with After Effects or implementation issues, would like to know what you think. Added a video in comments too :)
- Burger king logo animated with UIKit