1.4.0

This minor release introduces new APIs for creating springs that have an initial velocity.

New features

Added new APIs for creating springs with initial velocity: MDMMotionCurveMakeSpringWithInitialVelocity and _MDMSpringWithInitialVelocity.

Source changes

API changes

MDMMotionCurveMakeSpringWithInitialVelocity

new function: MDMMotionCurveMakeSpringWithInitialVelocity

_MDMSpringWithInitialVelocity

new macro: _MDMSpringWithInitialVelocity

Non-source changes

1.3.0

This minor releases introduces new APIs for defining motion curves.

New deprecations

MDMMotionCurveTypeDefault is now deprecated. Use MDMMotionCurveTypeBezier instead.

New features

The new MDMLinearMotionCurve macro allows you to define linear easing curves in specs.

Spring curve specs can now define initial velocity. This value can be read using the new MDMSpringMotionCurveDataIndexInitialVelocity enum value for MDMSpringMotionCurveDataIndex.

Source changes

API changes

MDMSpringMotionCurveDataIndexInitialVelocity

new enum: MDMSpringMotionCurveDataIndexInitialVelocity.

MDMLinearMotionCurve

new constant/macro: MDMLinearMotionCurve.

1.2.0

This minor release introduces a new API for reversing cubic beziers and a unit test for MDMModalMovementTiming.

New features

MDMMotionCurveReversedBezier reverses cubic bezier curves. Intended for use when building mirrored bi-directional transitions.

Source changes

API changes

MDMMotionCurveReversedBezier

new function: MDMMotionCurveReversedBezier.

Non-source changes

1.1.1

This patch release migrates the project's continuous integration pipeline from arc to bazel and kokoro.

New features

Continuous integration can now be run locally by executing ./.kokoro from the root of the git repo. Requires bazel.

Source changes

1.1.0

This minor release introduces two new APIs for working with timing curves.

New features

  • MDMMotionCurveFromTimingFunction can create a timing curve from a CAMediaTimingFunction.
  • MDMModalMovementTiming is the iOS timing curve for modal presentation movement.

Source changes

API changes

new function: MDMMotionCurveFromTimingFunction.

new macro: MDMModalMovementTiming.

Non-source changes

1.0.1

Added a missing framework header for Objective-C support.

Source changes

Non-source changes

1.0.0

Initial release.

Includes MotionTiming structure for representing cubic bezier and spring animations.

Source changes