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

v2.3.0

15 Nov 21:28
Compare
Choose a tag to compare

This minor release introduces new features for working with gestural interactions.

New features

Added two new methods for removing and stopping running animations.

Source changes

API changes

MDMMotionAnimator

new method: removeAllAnimations

new method: stopAllAnimations

v2.2.1

13 Nov 17:58
Compare
Choose a tag to compare

This patch release fixes a bug where CGPoint and CGSize spring animations would not properly extract
initial velocity from their motion timings.

Source changes

Non-source changes

v2.2.0

10 Nov 17:59
Compare
Choose a tag to compare

This minor release introduces support for the new initial velocity spring curve value in
MotionInterchange v1.3.0. This release also includes additional public and internal documentation.

Dependency changes

The minimum MotionInterchange version has been increased to v1.3.0.

New features

MDMMotionAnimator now supports initial velocity for spring curves.

Source changes

Non-source changes

v2.1.1

08 Nov 17:45
Compare
Choose a tag to compare

This patch release fixes issues with downstream bazel builds.

Source changes

Non-source changes

v2.1.0

07 Nov 16:43
Compare
Choose a tag to compare

This minor release introduces new implicit animation APIs. These APIs provide a migration path from existing UIView animateWithDuration:... code.

New features

New APIs for writing implicit animations in UIView style:

animator.animate(with: timing) {
  view.alpha = 0
}

Source changes

API changes

MDMMotionAnimator

new method: animateWithTiming:animations:

new method: animateWithTiming:animations:completion:

Non-source changes

v2.0.2

06 Nov 17:14
Compare
Choose a tag to compare

This patch release includes minor fixes for CocoaPods unit tests.

CocoaPods Swift modules require that header dependencies be imported using <> notation.

Source changes

v2.0.1

06 Nov 16:26
Compare
Choose a tag to compare

This patch release includes minor fixes for bazel + kokoro continuous integration.

Source changes

v2.0.0

03 Nov 17:20
Compare
Choose a tag to compare

This major release includes several new APIs, bug fixes, and internal cleanup.

Breaking changes

The animator now adds non-additive animations with the keyPath as the animation key. This is a
behavioral change in that animations will now remove the current animation with the same key.

Bug fixes

Implicit animations are no longer created when adding animations within a UIView animation block.

New features

New keypath constants:

  • backgroundColor
  • position
  • rotation
  • strokeStart
  • strokeEnd

New APIs on CATransaction for setting a transaction-specific timeScaleFactor:

CATransaction.begin()
CATransaction.mdm_setTimeScaleFactor(0.5)
animator.animate...
CATransaction.commit()

Source changes

API changes

CATransaction

new method: mdm_timeScaleFactor.

new method: mdm_setTimeScaleFactor:.

Animatable key paths

new constant: MDMKeyPathBackgroundColor

new constant: MDMKeyPathPosition

new constant: MDMKeyPathRotation

new constant: MDMKeyPathStrokeStart

new constant: MDMKeyPathStrokeEnd

MDMCoreAnimationTraceable

new protocol: MDMCoreAnimationTraceable

v1.1.3

23 Oct 19:02
Compare
Choose a tag to compare

This patch release resolves an Xcode 9 build warning.

Source changes

Non-source changes

v1.1.2

21 Sep 18:36
Compare
Choose a tag to compare

Added support for Xcode 7 builds.

Source changes