Skip to content

Vraj247/Vikas-Raj-Yadav---Rive-

Repository files navigation

SwiftUI Rive Animation

This repository contains a SwiftUI project that demonstrates the integration of a Rive animation using the Rive community file.

Project Overview

This project showcases how to implement a Rive animation in a SwiftUI application. The Rive file used in this project is available both in this repository and on the Rive Community.

Prerequisites

  • Xcode 12 or later
  • iOS 14 or later
  • Swift 5.3 or later
  • CocoaPods (for Rive dependency management)

Installation

  1. Clone this repository:
  2. Navigate to the project directory:
  3. Install dependencies using CocoaPods:
  4. Open the .xcworkspace file in Xcode.

Usage

The main implementation of the Rive animation can be found in ContentView.swift. To use this animation in your own project:

  1. Add the Rive file to your Xcode project.
  2. Import the Rive framework in your SwiftUI view.
  3. Use the RiveViewModel to load and control the animation.

Rive Community File

The Rive file used in this project is also available on the Rive Community. You can find it here.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

Acknowledgments

  • Rive for providing the animation tool and runtime.
  • SwiftUI for the UI framework

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages