Wave

Wave is a spring-based animation engine for iOS and macOS that makes it easy to create fluid, interruptible animations that feel great.

MIT License

Stars
2K
Committers
1

Bot releases are hidden (Show)

Wave - 0.3.2 Latest Release

Published by jtrivedi over 1 year ago

Fixes a display link crash reported here: https://github.com/jtrivedi/Wave/issues/30

Wave - 0.3.1

Published by jtrivedi almost 2 years ago

This revision fixes an issue with animating and re-targeting affine scale and translation.

Wave - 0.3.0

Published by jtrivedi almost 2 years ago

Version 0.3.0 adds macOS as a supported platform for Wave, and enables first-class animation support for AppKit.

AppKit apps can now use both the block-based and property-based animation APIs. There's also a tiny sample app for reference. In a separate patch, I'll add NSView support, so you can animate frame, bounds, etc., and not just properties on CALayer.

Other improvements/additions:

  • Support for animating CALayer.borderColor/borderWidth
  • Significantly improved color animation (UIColor and NSColor)
  • Fixed a retain cycle/leak

API compatibility notes:

  • UIView.animator.backgroundColor and CALayer.animator.backgroundColor are both non-null. If you want to animate to a clear/transparent color, animate to UIColor.clear instead of to nil.
Wave - 0.2.1

Published by jtrivedi almost 2 years ago

Support 120 fps animation on ProMotion devices.

Wave - 0.2.0

Published by jtrivedi almost 2 years ago

Version 0.2.0 renames the Animation class to SpringAnimator, which enables Wave to be used with SwiftUI.

Due to the API renaming, this version is a breaking change. However, there are only two types that have been renamed, so clients shouldn't have too much difficulty updating to the new name.

Please reach out if you experience any difficulty adopting the new version.

Wave - 0.1.1

Published by jtrivedi over 2 years ago

Add three new animatable properties: shadowColor, shadowRadius, and shadowOffset.

Wave - 0.1.0

Published by jtrivedi over 2 years ago

Package Rankings
Top 11.92% on Swiftpackageindex.com
Related Projects