Wave is a spring-based animation engine for iOS and macOS that makes it easy to create fluid, interruptible animations that feel great.
2.02k
stars
55
forks
source link
SwiftUI support: rename `Animation` to `SpringAnimator` #16
Closed
jtrivedi closed 1 year ago
This PR fixes https://github.com/jtrivedi/Wave/issues/15 and allows Wave property animators to be used in SwiftUI.
Previously,
Animation
conflicted withSwiftUI.Animation
, and couldn't be resolved viaWave.Animation
.It also adds a small SwiftUI + Wave demo (dragging, throwing, and animating a box).