An iOS/macOS runtime library for Rive that supports both UIKit, AppKit, and SwiftUI.
The library is distributed both through Swift Package Manager and Cocoapods.
Rive is a real-time interactive design and animation tool that helps teams create and run interactive animations anywhere. Designers and developers use our collaborative editor to create motion graphics that respond to different states and user inputs. Our lightweight open-source runtime libraries allow them to load their animations into apps, games, and websites.
:house_with_garden: Homepage
:blue_book: General help docs
Follow along with the link below for a quick start in getting Rive iOS/macOS integrated into your multi-platform applications.
Getting Started with Rive in iOS
Currently, this runtime library supports a minimum iOS version of 14.0+. Devices supported include iPhone, iPad, and Mac catalyst. macOS support supports a targeted version of 13.1.
Check out the Example-iOS/
folder for an example application using the Rive iOS/macOS runtime.
Open the project in XCode and ensure the selected scheme/target is set to Preview
/Preview (macOS)
. These schemes make use of the hosted Rive package dependency. The other targets are for local development and require additional configuration and set-up. See Customizing the build schemes for a project for instructions to switch schemes, and CONTRIBUTING.md
for more information.
The example showcases a number of ways to use the high-level RiveViewModel
API through UIKit and SwiftUI examples, including:
For even more examples and resources on using Rive at runtime or in other tools, checkout the awesome-rive repo.
Using an older version of the runtime and need to learn how to upgrade to the latest version? Check out the migration guides below in our help center that help guide you through version bumps; breaking changes and all!
We love contributions! Check out our contributing docs to get more details into how to run this project, the examples, and more all locally.
Have an issue with using the runtime, or want to suggest a feature/API to help make your development life better? Log an issue in our issues tab! You can also browse older issues and discussion threads there to see solutions that may have worked for common problems.
link |
Stars: 450 |
Last commit: 3 hours ago |
3da243c
ab21a25
b8d9341
62ab488
e787fb3
ce1bf6f
f633c6e
d32624a
292edfd
48f4bc4
d35e7f3
4e8324d
5b17538
23fd20b
815eec0
d48880c
ae75533
13f0d2e
234a405
e7a10df
36250ad
2d495da
72a2169
79cec38
32a870c
5fbefa7
ee940e6
77d55ef
d107f4f
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics