Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add JSON load error callback to ObjC Lottie URL initializer #2324

Merged

Conversation

joshua-adam-taylor
Copy link

This change adds an initializer to LOTAnimationView that allows passing an error-handling block when initializing the view with a URL. If there are any errors retrieving the contents of the URL or parsing the contents as JSON, the error-handling block is called with the error.

@calda calda merged commit b49dc0a into airbnb:lottie/objectiveC Feb 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants