UNPKG

lottie-ios

Version:

Lottie is a mobile library for Android and iOS that parses Adobe After Effects animations exported as json with bodymovin and renders the vector animations natively on mobile and through React Native!

31 lines (20 loc) 1.46 kB
## EpoxyCore This directory includes the source code of the EpoxyCore library, from the following release: https://github.com/airbnb/epoxy-ios/releases/tag/0.10.0 Lottie is distributed via multiple package managers (SPM, Cocoapods, Carthage, and NPM), each with different packaging and compilation requirements. Due to limitations of these package managers, we can't depend on / import a separate EpoxyCore module / library. Instead, we include the source directly within the Lottie library and compile everything as a single unit. ### Update instructions From time to time we may need to update to a more recent version of EpoxyCore. When doing this, follow these steps: 1. Download the latest release from https://github.com/airbnb/epoxy-ios and replace the source code in this directory with the updated code. 2. Update the URL at the top of this file to indicate what release is being used. 3. Change all of the `public` symbols defined in this module to instead be `internal` to prevent Lottie from exposing any EpoxyCore APIs. 4. Namespace any types that conflict with other existing types. For example, the EpoxyCore `Entry` type conflicts with the ZipFoundation `Entry` type, so the EpoxyCore type has been renamed to `EpoxyEntry`. 5. Delete `EpoxySwiftUIHostingController.swift` and `EpoxySwiftUIHostingView.swift`, which are not used by Lottie, and emit deprecation warnings when building for visionOS.