Lottie-ios: How to use Lottie In SpriteKit

Created on 23 Oct 2018  路  3Comments  路  Source: airbnb/lottie-ios

Check these before submitting:

  • [] Updated to the latest version of Lottie (2.5.0)
  • [] The issue doesn't involve an Unsupported Feature
  • [] This issue isn't related to another open issue

This issue is a:

  • [] Non-Crashing Bug (Visual or otherwise)
  • [] Crashing Bug
  • [Lottie In SpriteKit] Feature Request
  • [] Regression (Something that once worked, but doesn't work anymore)

What Platform are you on?

  • [] MacOS
  • [iOS] iOS

Expected Behavior

Actual Behavior

Code Example

Animation JSON

Most helpful comment

I believe this issue may be reopened. Lottie now supports only UIKit. But it would be cool to use it in games, for this purpose SpriteKit support is required. We need something like LottiNode which can be inserted into SKScene.

All 3 comments

Lottie has been completely rewritten in Swift as of 3.0 (https://github.com/airbnb/lottie-ios/pull/777)

I am closing all issues prior to this release to reduce the noise. If you continue to run into this issues or any issue with Lottie 3.0 please open a new ticket

For continued support of Lottie Objective-c please point to this branch: https://github.com/airbnb/lottie-ios/tree/lottie/objectiveC

I believe this issue may be reopened. Lottie now supports only UIKit. But it would be cool to use it in games, for this purpose SpriteKit support is required. We need something like LottiNode which can be inserted into SKScene.

Agree with the comment above, need to be reopened

Was this page helpful?
0 / 5 - 0 ratings