dotLottie support #1780
Replies: 2 comments
-
It would be great for this repo to support One of the first hurdles, as you mentioned, is finding a way to unzip these files. I like the look of the ZIPFoundation project in particular, since it is built on top of Apple's Lottie currently doesn't include any third-party dependencies though, and I'm not sure how feasible it is to add one. I expect this will be easy for Swift Package Manager. I'm not sure how this works for Cocoapods though, and I think it may be difficult or impossible to do this for Carthage. I think a good first step here would be attempting to integrate ZIPFoundation into the repo and make sure that SPM, Cocoapods, and Carthage all still work correctly. |
Beta Was this translation helpful? Give feedback.
-
Thank you for adding built in Any ideas on best approaches on how to handle it, desirably with least (or none) code change on view lifecycle after switching from The PR above would be somewhat acceptable for my use case, at least as temporary workaround, but would nice to hear opinions on this. |
Beta Was this translation helpful? Give feedback.
-
Hey all!
I personally think built-in
.lottie
support forairbnb/lottie-ios
would be beneficial and could make working with Lottie animations even easier.Motivation
.lottie
are a great addition to working with Lottie and I'd love to see thelottie-ios
project being able to open them.I'm citing the key benefits mentioned at dotlottie.io:
Establishing an identity
Archiving
Compression
Additional Information
The
airbnb/lottie-android
library already does support.lottie
files.There is no high-level built-in Swift/iOS/macOS framework to unpack the dotLottie ZIP archive.
Compression
frameworklottie-ios
currently have no external dependencies, it could also be an option to implement the unzipping of the archives withCompression
(which is available on macOS, iOS, tvOS, watchOS)🙇 Looking forward to your replies!
Beta Was this translation helpful? Give feedback.
All reactions