2.1.0

New deprecations

New features

VelocitySource can feed velocity from a gesture recognizer on completion into a SpringTo simulation.

Source changes

API changes

Auto-generated by running:

apidiff origin/stable release-candidate swift MaterialMotionPop.xcworkspace MaterialMotionPop

AppliesVelocity

new class: AppliesVelocity

new method: init(_:onCompletionOf:) in AppliesVelocity

new var: gestureRecognizer in AppliesVelocity

new var: property in AppliesVelocity

PauseSpring

deprecated class: PauseSpring

modified class: PauseSpring

Type of change: key.annotated_decl
From: @objc(MDMPauseSpring) public final class PauseSpring : NSObject, Plan
To: @objc(MDMPauseSpring) public class PauseSpring : PausesSpring

PausesSpring

new class: PausesSpring

new method: init(_:whileActive:) in PausesSpring

new var: property in PausesSpring

new var: gestureRecognizer in PausesSpring

2.0.0

This is an API consistency release that brings the SpringTo and PauseSpring APIs closer in alignment to the Core Animation Tween APIs.

Breaking changes

Source changes

API changes

Auto-generated by running:

apidiff origin/stable release-candidate swift MaterialMotionPop.xcworkspace MaterialMotionPop

PauseSpring

changed var: property in PauseSpring is now a String

SpringTo

changed var: property in SpringTo is now a String

removed static var: defaultFriction in SpringTo

removed static var: defaultTension in SpringTo

POPProperty

removed enum: POPProperty

Non-source changes

1.2.0

The library has been renamed from MaterialMotionPopFamily to MaterialMotionPop.

New deprecations

New features

PauseSpring allows you to stop springs on specific properties from simulating while a gesture recognizer is active.

Source changes

API changes

Auto-generated by running:

apidiff origin/stable release-candidate swift MaterialMotionPop.xcworkspace MaterialMotionPop

PauseSpring

new class: PauseSpring

new var: gestureRecognizer in PauseSpring

new var: property in PauseSpring

new method: init(_:whileActive:) in PauseSpring

SpringTo

new static var: defaultConfiguration in SpringTo

deprecated static var: defaultFriction in SpringTo

deprecated static var: defaultTension in SpringTo

Non-source changes

1.1.0

Adds support for Runtime v5.

Source changes

1.0.0

Initial release.

Source changes

API changes

Auto-generated by running:

apidiff 57b3801fcca55b4c6eba0363d50a7b209050a6d6 bdf20adccdd3e7359d556a743dc3387927ba6694 swift MaterialMotionPopFamily.xcworkspace MaterialMotionPopFamily

SpringConfiguration

new method: copy(with:) in SpringConfiguration

new var: tension in SpringConfiguration

new var: friction in SpringConfiguration

new class: SpringConfiguration

new method: init(tension:friction:) in SpringConfiguration

POPProperty

new enum: POPProperty

SpringTo

new static var: defaultFriction in SpringTo

new method: init(_:destination:) in SpringTo

new method: performerClass() in SpringTo

new class: SpringTo

new var: property in SpringTo

new method: copy(with:) in SpringTo

new static var: defaultTension in SpringTo

new var: configuration in SpringTo

new var: destination in SpringTo

Non-source changes