Skip to content
This repository has been archived by the owner on Aug 30, 2023. It is now read-only.

Releases: material-motion/motion-transitioning-objc

v8.0.0

07 Apr 00:48
Compare
Choose a tag to compare

This major release drops official support for iOS 9 and bazel.

v7.0.1

26 Jun 17:15
Compare
Choose a tag to compare

This patch release fixes a bug on iOS 13 where the presented view controller would not be added to
the view hierarchy.

Source changes

v7.0.0

12 Mar 01:09
Compare
Choose a tag to compare

This major release drops official support for iOS 8.

Non-source changes

v6.0.0

10 Dec 19:50
Compare
Choose a tag to compare

This major release upgrades the bazel dependencies and workspace. This change is breaking for anyone
using bazel to build this library. In order to use this library with bazel, you will also need to
upgrade your workspace versions to match the ones now used in this library's WORKSPACE file.

Source changes

Non-source changes

v5.0.0

28 Nov 15:46
Compare
Choose a tag to compare

This major change introduces a breaking API change for Swift clients.

Breaking changes

Swift only: The UIViewController extension property transitionController has been renamed to mdm_transitionController.

Source changes

API changes

UIViewController

renamed (swift) method: transitionController to mdm_transitionController.

v4.0.2

14 Nov 19:10
Compare
Choose a tag to compare

This patch release fixes a bug where the frames of custom presented views would be incorrectly set
to the view controller's frame.

Source changes

Non-source changes

v4.0.1

23 Oct 19:04
Compare
Choose a tag to compare

This patch release resolves a build warning and migrates the project's continuous integration to
bazel and kokoro.

Source changes

v4.0.0

20 Oct 20:34
Compare
Choose a tag to compare

This major release adds support for composable transitions. See the catalog app for a variety of
examples making use of this new functionality.

Fixed issues

Breaking changes

  • MDMTransitionWithFallback's return value is now nonnull. If you depended on the nil behavior,
    you must now conform to the new protocol MDMTransitionWithFeasibility and return NO for
    canPerformTransitionWithContext:.
  • MDMTransitionDirection has been renamed to TransitionDirection in Swift.

New features

MDMTransitionWithFeasibility allows a transition to indicate whether it is capable of performing
the transition with a given context.

The new composeWithTransition: API on MDMTransitionContext makes it possible to build modular
transition objects that delegate responsibility out to other transition objects. View the
PhotoAlbumTransition example transition to see the following code in action:

context.compose(with: FadeTransition(target: .foreView, style: .fadeIn))
context.compose(with: SpringFrameTransition(target: .target(snapshotContextView),
                                            size: fitSize))

if let toolbar = foreDelegate.toolbar(for: self) {
  context.compose(with: SlideUpTransition(target: .target(toolbar)))
}

Source changes

API changes

MDMTransitionWithCustomDuration

changed protocol MDMTransitionWithCustomDuration now conforms to MDMTransition.

MDMTransitionWithFallback

changed protocol MDMTransitionWithFallback now conforms to MDMTransition.

MDMTransitionWithFeasibility

new protocol MDMTransitionWithFeasibility.

MDMTransitionContext

new method composeWithTransition:

Non-source changes

v3.3.0

02 Oct 19:31
Compare
Choose a tag to compare

This minor release deprecates some behavior and replaces it with a new API.

New deprecations

  • MDMTransitionWithFallback nil behavior is now deprecated. In order to fall back to system
    transitions you must now conform to MDMTransitionWithFeasibility and return NO.

Source changes

API changes

MDMTransitionWithFeasibility

new protocol MDMTransitionWithFeasibility.

v3.2.1

31 Aug 15:53
Compare
Choose a tag to compare

This patch release resolves Xcode 9 compiler warnings.

Source changes