Pull to refresh animation using Rive + SwiftUI
Tried creating a pull to refresh animation with Rive + SwiftUI 🚀
After experimenting with different animations in Rive, I decided to create something truly interactive and delightful ✨. There's nothing better than a pull to refresh animation that feels seamless with the user’s interaction!
Here’s how I did it:
1️⃣ Designed the illustration in Figma and exported assets as SVG.
2️⃣ Imported the assets into Rive, animated them, and set up input triggers for pull and refresh in the state machine. Then, exported the .riv file.
3️⃣ Integrated it into an iOS app using Xcode and the Rive iOS SDK (with some help from ChatGPT for the code XD)
More by Pritesh Chaudhari View profile
Like