Swiftpack.co - rive-app/rive-ios as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by rive-app.
rive-app/rive-ios pre-high-level
iOS runtime for Rive
⭐️ 117
πŸ•“ 28 weeks ago
iOS
.package(url: "https://github.com/rive-app/rive-ios.git", from: "pre-high-level")

Build Status Discord badge Twitter handle

Rive iOS

Rive hero image

An iOS runtime library for Rive that supports both UIKit and SwiftUI.

The library is distributed both through Swift Package Manager and Cocoapods.

Table of contents

Rive Overview

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

πŸ›  Resources for building in Rive

Getting Started

Follow along with the link below for a quick start in getting Rive React Native integrated into your multi-platform applications.

Getting Started with Rive in iOS

Supported Devices

Currently, this runtime library supports a minimum iOS version of 14.0+. Devices supported include iPhone, iPad, and Mac catalyst.

Examples

Check out the Demo-App/ folder and Example-iOS/ folder for example applications using the Rive iOS runtime. It showcases a number of ways to use the Rive component and useRef hook pattern:

  • Setting a Rive file via a URL, or asset in the Android/iOS projects
  • Setting layout and loop mode options
  • Displaying single or multiple animations / artboards on one component
  • Setting up and maniuplating a state machine via inputs
  • ...and more!

Migration Guides

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!

Migration guides

Contributing

We love contributions! Check out our contributing docs to get more details into how to run this project, the examples, and more all locally.

Issues

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.

GitHub

link
Stars: 117
Last commit: 17 hours ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Release Notes

3.0.3
17 hours ago
  • Deindent namespaces 9f165c2
  • clang-format tweaks 2ab3417
  • iOS - Fixed setArtboard bug in RiveModel bb229e0
  • Updating version files 8aeb507
  • Add a simd library for SSE / NEON / WASM_SIMD 6af3685
  • Line breaker 3b54bfa
  • Implement a dynamic array (simple vector for marshaling). a7f2cae
  • Add a make_rcp<>() helper method 270d2ac
  • Make RefCnt templated 0bb7753
  • Spam cleanup from previous PR 36e644d
  • Fixing skia viewer and renderer builds. 40f754d
  • Simpify RawPath::Iter ffdf92d
  • building harfbuzz with our premake setup c396ab5
  • Update Factory::makeRenderPath to only accept a RawPath 2c04f0e
  • Example for how to pack an atlas with tools 57b703b
  • "fix" broken tess test 46e19c3
  • Update call site for RawPath constructor 437701c
  • Change factory to use span 410d31c
  • Clean up some windows warnings on rive runtime tests e46fe4f
  • use contour_measure 832a59e
  • Utilities for rawpath ec4848a
  • Adds a utility to strip out FileAssetContents for given FileAsset types. 255a4f1
  • Build RiveSharp with clang 85c926c
  • add != to Mat2D fb1d3cc
  • fast triangulate single β€œsub paths” ae9a5cb
  • Fix Tess broken files 7ec9f16
  • Tess Renderer: compute gradient F in vertex shader. b3b3c8e
  • RenderPath work c259778
  • toSpan() no longer needed af42e1a
  • Initialize span from raw array fffe9ea
  • Update Span to not need toSpan helper 5810044
  • Force re-link viewer builds. 056734d
  • DrawImage for Tess Renderer 648960f
  • Make the RiveSharp NuGet package cross platform 1369190
  • Rive tess vector and meshes a26e2f4
  • Begin addressing clang warnings on windows 60af1c3
  • Add Artboard selection to the Viewer 40f9e55
  • Make Span compatible with std::Container 7bdfc35
  • fix: remove pr merged check on publish cocoapods step in gh workflow 00bf012

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics