Releases: material-motion/motion-animator-objc
v2.3.0
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
- Add support for removing added animations (#42) (featherless)
API changes
MDMMotionAnimator
new method: removeAllAnimations
new method: stopAllAnimations
v2.2.1
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
- Add missing sdk_frameworks to the BUILD file. (#40) (featherless)
v2.2.0
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
- Use MotionCurve make methods to create motion timings in the tests. (#38) (featherless)
- Extract initial velocity from the motion timing. (#37) (featherless)
- Silence a deprecation warning in motion interchange 1.3.0. (Jeff Verkoeyen)
Non-source changes
- Bump MotionInterchange dependency to 1.3. (Jeff Verkoeyen)
- Ensure that deprecations are treated as warnings, not errors, when building with CocoaPods. (Jeff Verkoeyen)
- Move example project up. (Jeff Verkoeyen)
- Formatting. (Jeff Verkoeyen)
- Add more tutorials and rework the introduction. (Jeff Verkoeyen)
- Add a guide on building motion specs. (Jeff Verkoeyen)
- Add jazzy yaml. (Jeff Verkoeyen)
v2.1.1
This patch release fixes issues with downstream bazel builds.
Source changes
- Touch up the block animations docs. (#35) (featherless)
- Resolve bazel build dependency issues. (#29) (featherless)
Non-source changes
- Fix typo in the changelog. (Jeff Verkoeyen)
v2.1.0
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
- Add a unit test verifying that the completion handler is called when duration == 0. (#34) (featherless)
- Add new APIs for implicit animations. (#30) (featherless)
API changes
MDMMotionAnimator
new method: animateWithTiming:animations:
new method: animateWithTiming:animations:completion:
Non-source changes
v2.0.2
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
This patch release includes minor fixes for bazel + kokoro continuous integration.
Source changes
- Replace framework import with relative import. (#27) (featherless)
v2.0.0
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
- Add support for customizing the timeScaleFactor as part of a CATransaction (#25) (featherless)
- [breaking] Use the keyPath as the key when the animator is not additive. (#22) (featherless)
- Disable implicit animations when adding explicit animations in the animator (#20) (featherless)
- Move private APIs to the private folder. (#17) (featherless)
- Add rotation, strokeStart, and strokeEnd key paths. (#19) (featherless)
- Extract a MDMCoreAnimationTraceable protocol from MotionAnimator. (#18) (featherless)
- Add position and backgroundColor as key paths. (#15) (featherless)
- Replace arc with kokoro and bazel support for continuous integration. (#13) (featherless)
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
This patch release resolves an Xcode 9 build warning.
Source changes
Non-source changes
- Update CocoaPods and ensure that warnings are enabled for the project. (Jeff Verkoeyen)
- Add explicit swift version file for CocoaPods. (Jeff Verkoeyen)