An iOS library to natively render After Effects vector animations
Full Changelog: https://github.com/airbnb/lottie-ios/compare/4.4.2...4.4.3
State(initialValue:)
in LottieView
(https://github.com/airbnb/lottie-ios/pull/2357)Full Changelog: https://github.com/airbnb/lottie-ios/compare/4.4.1...4.4.2
LottieAnimationView.viewportFrame
(https://github.com/airbnb/lottie-ios/pull/2316)Full Changelog: https://github.com/airbnb/lottie-ios/compare/4.4.0...4.4.1
overlay
instead of ZStack
(https://github.com/airbnb/lottie-ios/pull/2289)DotLottieImageProvider
instance if there's no image files (https://github.com/airbnb/lottie-ios/pull/2271)Full Changelog: https://github.com/airbnb/lottie-ios/compare/4.3.4...4.4.0
SwiftUI
and Combine
to weak
to ensure compatibility with iOS 12 by @florianrhein in https://github.com/airbnb/lottie-ios/pull/2219
UIScreen.main
to get display scale on iOS 13.0 and later (#2215) by @hyun99999 in https://github.com/airbnb/lottie-ios/pull/2216
Full Changelog: https://github.com/airbnb/lottie-ios/compare/4.3.3...4.3.4
Lottie 4.3.0 adds many new features, including:
CALayer
subclassYou can learn more about Lottie 4.3.0 in this announcement: Lottie 4.3.0 now available, with official support for SwiftUI #2189
Lottie 4.3.3 fixes a regression introduced by Lottie 4.3.0 where the contents of a LottieAnimationView
could crossfade / animate unexpectedly when updating the current LottieAnimation
or rendering engine: https://github.com/airbnb/lottie-ios/issues/2200
LottieView
, which wraps UIKit LottieAnimationView
LottieSwitch
, which wraps UIKit AnimatedSwitch
(https://github.com/airbnb/lottie-ios/pull/2138)LottieButton
, which wraps AnimatedButton
(https://github.com/airbnb/lottie-ios/pull/2139)AnimatedSwitch
and AnimatedButton
now support macOS (https://github.com/airbnb/lottie-ios/pull/2138, https://github.com/airbnb/lottie-ios/pull/2139)LottieAnimationLayer
, a Core Animation CALayer
subclass for playing Lottie animations (https://github.com/airbnb/lottie-ios/pull/2073)UIAccessibility.isReduceMotionEnabled
is true (https://github.com/airbnb/lottie-ios/pull/2110)AnimationKeypath
values (https://github.com/airbnb/lottie-ios/pull/2183)AnimationImageProvider
(https://github.com/airbnb/lottie-ios/pull/2177)FloatValueProvider
(https://github.com/airbnb/lottie-ios/pull/2179)Sendable
to support using Lottie with strict concurrency enabled (https://github.com/airbnb/lottie-ios/pull/2126)LottiePlaybackMode
to support declarative playback configuration (https://github.com/airbnb/lottie-ios/pull/2128)AnimationImageProvider
(https://github.com/airbnb/lottie-ios/pull/2171)GradientValueProvider
(https://github.com/airbnb/lottie-ios/pull/2182)DotLottieFile
(https://github.com/airbnb/lottie-ios/pull/2074)DotLottieFile
with data (https://github.com/airbnb/lottie-ios/pull/2090).../ZipFoundation/README.md
from targets and *.md*
files from podspec (https://github.com/airbnb/lottie-ios/pull/2057)*ValueProviderStore
to not accumulate multiple values for the same key (https://github.com/airbnb/lottie-ios/pull/2082)SolidLayer
using ColorValueProvider
(https://github.com/airbnb/lottie-ios/pull/2154)Thanks to everyone who contributed to this release!
Lottie 4.3.0 adds many new features, including:
CALayer
subclassYou can learn more about Lottie 4.3.0 in this announcement: Lottie 4.3.0 now available, with official support for SwiftUI #2189
Lottie 4.3.2 redesigns the LottiePlaybackMode
playback APIs that were introduced in Lottie 4.3.0.
// Loop from 0.5 to 1.0
LottieView(animation: myAnimation)
.play(.fromProgress(0.5, toProgress: 1.0, loopMode: .loop))
// Pause at the halfway point of the animation
LottieView(animation: myAnimation)
.play(.progress(0.5))
// Loop from 0.5 to 1.0
LottieView(animation: myAnimation)
.playing(.fromProgress(0.5, toProgress: 1.0, loopMode: .loop))
// Pause at the halfway point of the animation
LottieView(animation: myAnimation)
.paused(at: .progress(0.5))
LottieView
, which wraps UIKit LottieAnimationView
LottieSwitch
, which wraps UIKit AnimatedSwitch
(https://github.com/airbnb/lottie-ios/pull/2138)LottieButton
, which wraps AnimatedButton
(https://github.com/airbnb/lottie-ios/pull/2139)AnimatedSwitch
and AnimatedButton
now support macOS (https://github.com/airbnb/lottie-ios/pull/2138, https://github.com/airbnb/lottie-ios/pull/2139)LottieAnimationLayer
, a Core Animation CALayer
subclass for playing Lottie animations (https://github.com/airbnb/lottie-ios/pull/2073)UIAccessibility.isReduceMotionEnabled
is true (https://github.com/airbnb/lottie-ios/pull/2110)AnimationKeypath
values (https://github.com/airbnb/lottie-ios/pull/2183)AnimationImageProvider
(https://github.com/airbnb/lottie-ios/pull/2177)FloatValueProvider
(https://github.com/airbnb/lottie-ios/pull/2179)Sendable
to support using Lottie with strict concurrency enabled (https://github.com/airbnb/lottie-ios/pull/2126)LottiePlaybackMode
to support declarative playback configuration (https://github.com/airbnb/lottie-ios/pull/2128)AnimationImageProvider
(https://github.com/airbnb/lottie-ios/pull/2171)GradientValueProvider
(https://github.com/airbnb/lottie-ios/pull/2182)DotLottieFile
(https://github.com/airbnb/lottie-ios/pull/2074)DotLottieFile
with data (https://github.com/airbnb/lottie-ios/pull/2090).../ZipFoundation/README.md
from targets and *.md*
files from podspec (https://github.com/airbnb/lottie-ios/pull/2057)*ValueProviderStore
to not accumulate multiple values for the same key (https://github.com/airbnb/lottie-ios/pull/2082)SolidLayer
using ColorValueProvider
(https://github.com/airbnb/lottie-ios/pull/2154)Thanks to everyone who contributed to this release!
Lottie 4.3.0 adds many new features, including:
CALayer
subclassYou can learn more about Lottie 4.3.0 in this announcement: Lottie 4.3.0 now available, with official support for SwiftUI #2189
Lottie 4.3.1 fixes a small regression introduced by 4.3.0: https://github.com/airbnb/lottie-ios/issues/2193
LottieView
, which wraps UIKit LottieAnimationView
LottieSwitch
, which wraps UIKit AnimatedSwitch
(https://github.com/airbnb/lottie-ios/pull/2138)LottieButton
, which wraps AnimatedButton
(https://github.com/airbnb/lottie-ios/pull/2139)AnimatedSwitch
and AnimatedButton
now support macOS (https://github.com/airbnb/lottie-ios/pull/2138, https://github.com/airbnb/lottie-ios/pull/2139)LottieAnimationLayer
, a Core Animation CALayer
subclass for playing Lottie animations (https://github.com/airbnb/lottie-ios/pull/2073)UIAccessibility.isReduceMotionEnabled
is true (https://github.com/airbnb/lottie-ios/pull/2110)AnimationKeypath
values (https://github.com/airbnb/lottie-ios/pull/2183)AnimationImageProvider
(https://github.com/airbnb/lottie-ios/pull/2177)FloatValueProvider
(https://github.com/airbnb/lottie-ios/pull/2179)Sendable
to support using Lottie with strict concurrency enabled (https://github.com/airbnb/lottie-ios/pull/2126)LottiePlaybackMode
to support declarative playback configuration (https://github.com/airbnb/lottie-ios/pull/2128)AnimationImageProvider
(https://github.com/airbnb/lottie-ios/pull/2171)GradientValueProvider
(https://github.com/airbnb/lottie-ios/pull/2182)DotLottieFile
(https://github.com/airbnb/lottie-ios/pull/2074)DotLottieFile
with data (https://github.com/airbnb/lottie-ios/pull/2090).../ZipFoundation/README.md
from targets and *.md*
files from podspec (https://github.com/airbnb/lottie-ios/pull/2057)*ValueProviderStore
to not accumulate multiple values for the same key (https://github.com/airbnb/lottie-ios/pull/2082)SolidLayer
using ColorValueProvider
(https://github.com/airbnb/lottie-ios/pull/2154)Thanks to everyone who contributed to this release!
Lottie 4.3.0 adds many new features, including:
CALayer
subclassYou can learn more about Lottie 4.3.0 in this announcement: Lottie 4.3.0 now available, with official support for SwiftUI #2189
LottieView
, which wraps UIKit LottieAnimationView
LottieSwitch
, which wraps UIKit AnimatedSwitch
(https://github.com/airbnb/lottie-ios/pull/2138)LottieButton
, which wraps AnimatedButton
(https://github.com/airbnb/lottie-ios/pull/2139)AnimatedSwitch
and AnimatedButton
now support macOS (https://github.com/airbnb/lottie-ios/pull/2138, https://github.com/airbnb/lottie-ios/pull/2139)LottieAnimationLayer
, a Core Animation CALayer
subclass for playing Lottie animations (https://github.com/airbnb/lottie-ios/pull/2073)UIAccessibility.isReduceMotionEnabled
is true (https://github.com/airbnb/lottie-ios/pull/2110)AnimationKeypath
values (https://github.com/airbnb/lottie-ios/pull/2183)AnimationImageProvider
(https://github.com/airbnb/lottie-ios/pull/2177)FloatValueProvider
(https://github.com/airbnb/lottie-ios/pull/2179)Sendable
to support using Lottie with strict concurrency enabled (https://github.com/airbnb/lottie-ios/pull/2126)LottiePlaybackMode
to support declarative playback configuration (https://github.com/airbnb/lottie-ios/pull/2128)AnimationImageProvider
(https://github.com/airbnb/lottie-ios/pull/2171)GradientValueProvider
(https://github.com/airbnb/lottie-ios/pull/2182)DotLottieFile
(https://github.com/airbnb/lottie-ios/pull/2074)DotLottieFile
with data (https://github.com/airbnb/lottie-ios/pull/2090).../ZipFoundation/README.md
from targets and *.md*
files from podspec (https://github.com/airbnb/lottie-ios/pull/2057)*ValueProviderStore
to not accumulate multiple values for the same key (https://github.com/airbnb/lottie-ios/pull/2082)SolidLayer
using ColorValueProvider
(https://github.com/airbnb/lottie-ios/pull/2154)Thanks to everyone who contributed to this release!
Note Starting in Lottie 4.0, the Core Animation rendering engine is now enabled by default. Learn more about this change: Announcing Lottie 4.0 for iOS on the Airbnb Tech Blog
dataCorrupted
errors (https://github.com/airbnb/lottie-ios/pull/1978)**
wildcard incorrectly required matching at least one path component (https://github.com/airbnb/lottie-ios/pull/1988)LottieAnimationView.allHierarchyKeypaths()
to get list of animation keypaths at runtime (https://github.com/airbnb/lottie-ios/pull/2004)LottieAnimationView.maskAnimationToBounds
configuration option (https://github.com/airbnb/lottie-ios/pull/2008)LottieBackgroundBehavior
to Objective-C CompatibleAnimationView
(https://github.com/airbnb/lottie-ios/pull/2027)setValueProvider
would reset animation progress (https://github.com/airbnb/lottie-ios/pull/2052)Full Changelog: https://github.com/airbnb/lottie-ios/compare/4.1.3...4.2.0