airbnb / lottie-ios

An iOS library to natively render After Effects vector animations
http://airbnb.io/lottie/
Apache License 2.0
25.76k stars 3.75k forks source link

What happened to Animation.named #1914

Closed chitgoks closed 1 year ago

chitgoks commented 1 year ago

Which Version of Lottie are you using?

Lottie 4.0.1

Animation.named doesnt exist anymore. The documentation still instructs to use .named(lottieFile)

calda commented 1 year ago

Animation was renamed to LottieAnimation, so this would be LottieAnimation.named(...) now.

chitgoks commented 1 year ago

thanks. you are right.

Baza207 commented 1 year ago

I think the documentation might need to get updated then @calda https://airbnb.io/lottie/#/ios?id=animation-model