Apple runtime for Rive.
13.1
v4.0.1+
Example-iOS
app in XCode and be sure to select the Preview (iOS)
or Preview (macOS)
scheme. The other schemes are for development purposes and require additional configuration, see CONTRIBUTING.MD.
Importing Rive
v2 Runtime Usage
RiveViewModel
. It is responsible for creating and interacting with Rive assets..riv
asset bundled into your application, but you can also load in a .riv
file hosted on a remote URL like so:RiveViewModel
, and set its view to be the RiveView
you made in the Storyboard.RiveViewModel
, telling it to create a fresh RiveView
and then adding it to the view hierarchy.