0.3.0
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
andNSColor
) - Fixed a retain cycle/leak
API compatibility notes:
UIView.animator.backgroundColor
andCALayer.animator.backgroundColor
are both non-null. If you want to animate to a clear/transparent color, animate toUIColor.clear
instead of tonil
.