Description
Wave is a spring-based animation engine for iOS, iPadOS and macOS that makes it easy to create fluid, interactive animations which can be interrupted. Its core feature is retargeting: you can change an animation's destination while it is running, and the animation redirects smoothly to the new value while keeping its velocity. The README contrasts a Picture-in-Picture transition built with standard UIKit animations, which looks stiff when interrupted, with one built with Wave, which arcs gracefully to its new destination. Wave has no external dependencies and can be added to UIKit, SwiftUI or AppKit projects. swift or through Xcode's Add Packages menu. There are two ways to animate. animateWithDuration and animates common properties such as frame, center, scale and background colour, creating the spring animations for you. A property-based API gives more control. plist, otherwise animations are capped at 60 frames per second. The repository includes a sample app with interactive demos, and a full documentation site describes the API.…
Highlights
- Spring-based animations for iOS and macOS
- Retargetable animations that keep velocity
- No external dependencies
- Block-based and property-based APIs
- Works with UIKit, SwiftUI and AppKit
Ratings & Reviews
No ratings yet
Be the first to rate Wave.
People also visit
Swiftui Spring Animations
This repository serves as your reference and complete guide
Wave FAQ
What is Wave?
A spring-based animation engine for iOS, iPadOS and macOS, for fluid animations that can be interrupted.
Is it free?
The code is on GitHub and the README does not describe a paid version.
What is retargeting?
Changing an animation's destination while it runs, so it redirects smoothly and keeps its velocity.
How do I install it?
Add it to your Package.swift file, or through File, Add Packages in Xcode.
Why are my animations capped at 60 fps?
On ProMotion devices you need to set CADisableMinimumFrameDuration to true in Info.plist, the README says.
Does it depend on other libraries?
No. The README says Wave has no external dependencies.
What are the best Wave alternatives?
Popular alternatives to Wave include SwiftTweaks, wavedance and Anime. See all Wave alternatives








