Skip to content
This repository has been archived by the owner on Aug 30, 2023. It is now read-only.

v2.4.0

Compare
Choose a tag to compare
@jverkoey jverkoey released this 20 Nov 20:18
· 129 commits to stable since this release

This minor release introduces support for implicitly animating CALayers that have been created
independently of a UIView. To use this new functionality, consider the following example:

let layer = CALayer()
layer.delegate = MotionAnimator.sharedLayerDelegate()
animator.animate(with: timing) {
  layer.opacity = 0.5
}

New features

Added support for adding implicit animations to headless CALayer instances.

Source changes

API changes

MDMAnimator

new method: +sharedLayerDelegate

Non-source changes