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

Releases: material-motion/motion-animator-objc

v5.0.0

06 Apr 23:11
Compare
Choose a tag to compare

This major release drops Bazel support and support for iOS 9.

v4.0.1

05 Mar 00:27
Compare
Choose a tag to compare

This patch release fixes a bug on iOS 14 affecting flickers when using animations that have no delay.

v4.0.0

12 Mar 21:12
Compare
Choose a tag to compare

This major release drops official support for iOS 8 and fixes a static analyzer warning.

Source changes

Non-source changes

v3.0.0

10 Dec 17:13
Compare
Choose a tag to compare

This major release upgrades the bazel dependencies and workspace. This change is breaking for anyone
using bazel to build this library. In order to use this library with bazel, you will also need to
upgrade your workspace versions to match the ones now used in this library's WORKSPACE file.

Source changes

Non-source changes

v2.8.1

06 Mar 18:17
Compare
Choose a tag to compare

This patch release resolves some runtime crashes, improves the stability of our unit tests, and features an improved README.md.

Bug fixes

Fixed unrecognized selector crashes on iOS 8 devices.

Fixed crashes in Legacy API when providing nil completion blocks.

Source changes

Non-source changes

v2.8.0

19 Dec 19:24
Compare
Choose a tag to compare

This minor release introduces support for animating more key paths and support for drop-in UIView animation API replacements.

New features

The MotionAnimator can now implicitly animate the following CALayer properties: anchorPoint, borderWidth, borderColor, shadowColor, and zPosition.

There are now UIKit equivalency APIs that can be used as drop-in replacements for existing UIView animation code.

Source changes

API changes

Auto-generated by running:

apidiff origin/stable release-candidate objc src/MotionAnimator.h

Animatable key paths

new constant: MDMKeyPathAnchorPoint

new constant: MDMKeyPathBorderWidth

new constant: MDMKeyPathBorderColor

new constant: MDMKeyPathShadowColor

new constant: MDMKeyPathZ

MDMMotionAnimator(UIKitEquivalency)

new class method: +animateWithDuration:delay:options:animations:completion: in MDMMotionAnimator(UIKitEquivalency)

new class method: +animateWithDuration:animations:completion: in MDMMotionAnimator(UIKitEquivalency)

new class method: +animateWithDuration:animations: in MDMMotionAnimator(UIKitEquivalency)

new class method: +animateWithDuration:delay:usingSpringWithDamping:initialSpringVelocity:options:animations:completion: in MDMMotionAnimator(UIKitEquivalency)

Non-source changes

v2.7.0

14 Dec 15:16
Compare
Choose a tag to compare

This minor release introduces support for the new v1.5.0 MotionInterchange format.

New features

It is now possible to additively and implicitly animate the transform property of both UIView and CALayer.

Source changes

API changes

Auto-generated by running:

apidiff origin/stable release-candidate objc src/MotionAnimator.h

MDMMotionAnimator

new method: -animateWithTraits:animations:completion: in MDMMotionAnimator

new method: -animateWithTraits:between:layer:keyPath: in MDMMotionAnimator

new method: -animateWithTraits:animations: in MDMMotionAnimator

new method: -animateWithTraits:between:layer:keyPath:completion: in MDMMotionAnimator

MDMKeyPathTransform

new constant: MDMKeyPathTransform

Non-source changes

v2.6.0

01 Dec 17:42
Compare
Choose a tag to compare

This minor release increases test coverage, fixes a variety of bugs related to beginFromCurrentState, and generally improves the stability and robustness of the underlying implementation.

New features

The following key paths are now officially supported: MDMKeyPathBounds, MDMKeyPathShadowOffset, MDMKeyPathShadowOpacity, and MDMKeyPathShadowRadius.

Source changes

API changes

MDMAnimatableKeyPaths

new supported key paths: MDMKeyPathBounds, MDMKeyPathShadowOffset, MDMKeyPathShadowOpacity, and MDMKeyPathShadowRadius.

Non-source changes

v2.5.0

27 Nov 19:14
Compare
Choose a tag to compare

This minor release makes CALayer implicit animation support more robust while simplifying the internal animator implementation.

New deprecations

MDMMotionAnimator's +sharedLayerDelegate API has been deprecated and is no longer needed to animate headless CALayer instances.

New features

The animator now supports additive animations on CALayer's shadowOffset property.

Source changes

API changes

MDMMotionAnimator

deprecated method: +sharedLayerDelegate

v2.4.0

20 Nov 20:18
Compare
Choose a tag to compare

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