diff --git a/.jazzy.yaml b/.jazzy.yaml index 42875c4..e9aa57f 100644 --- a/.jazzy.yaml +++ b/.jazzy.yaml @@ -1,7 +1,7 @@ module: MotionAnimator -module_version: 2.3.0 +module_version: 2.4.0 sdk: iphonesimulator umbrella_header: src/MotionAnimator.h objc: true github_url: https://github.com/material-motion/motion-animator-objc -github_file_prefix: https://github.com/material-motion/motion-animator-objc/tree/v2.3.0 +github_file_prefix: https://github.com/material-motion/motion-animator-objc/tree/v2.4.0 diff --git a/CHANGELOG.md b/CHANGELOG.md index b45f6e4..99bc1cc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,35 @@ +# 2.4.0 + +This minor release introduces support for implicitly animating CALayers that have been created +independently of a UIView. To use this new functionality, consider the following example: + +```swift +let layer = CALayer() +layer.delegate = MotionAnimator.sharedLayerDelegate() +animator.animate(with: timing) { + layer.opacity = 0.5 +} +``` + +## New features + +Added support for adding implicit animations to headless CALayer instances. + +## Source changes + +* [Add support for headless implicit layer animations. (#45)](https://github.com/material-motion/motion-animator-objc/commit/b92bb0a26c3458b508e0ba85628aea3e1590df28) (featherless) + +## API changes + +### MDMAnimator + +**new** method: `+sharedLayerDelegate` + +## Non-source changes + +* [Remove references to interchange macros. (#44)](https://github.com/material-motion/motion-animator-objc/commit/a1c771b781713d6fc63e68ede73690e1f16c9624) (featherless) +* [Add missing Info.plist. (#43)](https://github.com/material-motion/motion-animator-objc/commit/41fa66f904b28058f5a968da879749d3732d6c35) (Sylvain Defresne) + # 2.3.0 This minor release introduces new features for working with gestural interactions. diff --git a/MotionAnimator.podspec b/MotionAnimator.podspec index 7db7ce2..79cdd5f 100644 --- a/MotionAnimator.podspec +++ b/MotionAnimator.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = "MotionAnimator" s.summary = "A Motion Animator creates performant, interruptible animations from motion specs." - s.version = "2.3.0" + s.version = "2.4.0" s.authors = "The Material Motion Authors" s.license = "Apache 2.0" s.homepage = "https://github.com/material-motion/motion-animator-objc" diff --git a/Podfile.lock b/Podfile.lock index de8b3bf..2ea7bdc 100644 --- a/Podfile.lock +++ b/Podfile.lock @@ -1,6 +1,6 @@ PODS: - CatalogByConvention (2.2.0) - - MotionAnimator (2.3.0): + - MotionAnimator (2.4.0): - MotionInterchange (~> 1.3) - MotionInterchange (1.3.0) @@ -14,7 +14,7 @@ EXTERNAL SOURCES: SPEC CHECKSUMS: CatalogByConvention: 5df5831e48b8083b18570dcb804f20fd1c90694f - MotionAnimator: 133a697ee8c7e07f96553f641571bdb6ef698cb2 + MotionAnimator: 640dc3e652080bd05251e5ffe32b41f16bfaa3e1 MotionInterchange: 988fc0011e4b806cc33f2fb4f9566f5eeb4159e8 PODFILE CHECKSUM: 3537bf01c11174928ac008c20fec4738722e96f3