Skip to content
This repository has been archived by the owner on Nov 21, 2017. It is now read-only.

Releases: material-motion-archive/coreanimation-swift

v2.0.0

16 Nov 22:51
Compare
Choose a tag to compare

Breaking changes

  • A Tween with a null to value and non-null from value is no longer supported.

New features

Tweens can now be scrubbed along a Timeline using the optional timeline property.

// To associate a timeline with a tween:
tween.timeline = timeline

// To scrub the associated tweens:
timeline.scrubber?.timeOffset = 0.1

Tween API now supports an arbitrary number of values. The old from/to APIs have been deprecated.

Source changes

API changes

Tween

new method: commitFirstValue(to:) in Tween

new method: commitLastValue(to:) in Tween

new var: values in Tween

new var: timingFunctions in Tween

new var: timeline in Tween

new var: keyPositions in Tween

new method: init(_:duration:values:) in Tween

deprecated method: commitFromValue(to:) in Tween

deprecated method: commitToValue(to:) in Tween

deprecated method: init(_:duration:) in Tween

deprecated var: from in Tween

deprecated var: to in Tween

deprecated var: timingFunction in Tween

Non-source changes

v1.1.0

02 Nov 19:24
Compare
Choose a tag to compare

This release adds support for Runtime v5.

Source changes

Non-source changes

v1.0.0

13 Oct 20:00
Compare
Choose a tag to compare

Initial release.

Source changes

API changes

Auto-generated by running:

apidiff 99fdffa05e14a9803d79d000468bca8ef367fcc3 6112242ca637580ff8af376ea392675cd8618234 swift MaterialMotionCoreAnimationFamily.xcworkspace MaterialMotionCoreAnimationFamily

Tween

new method: commitToValue(to:) in Tween

new var: from in Tween

new var: timingFunction in Tween

new var: duration in Tween

new method: init(_:duration:) in Tween

new method: commitFromValue(to:) in Tween

new method: performerClass() in Tween

new class: Tween

new var: delay in Tween

new var: to in Tween

new method: copy(with:) in Tween

new var: keyPath in Tween

Non-source changes