Skip to content

0.3.0

Compare
Choose a tag to compare
@jtrivedi jtrivedi released this 16 Nov 05:17
· 7 commits to main since this release

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.