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