Releases: material-motion/motion-transitioning-objc
v8.0.0
v7.0.1
This patch release fixes a bug on iOS 13 where the presented view controller would not be added to
the view hierarchy.
Source changes
- Always add the toView to the container. (#68) (featherless)
v7.0.0
This major release drops official support for iOS 8.
Non-source changes
- Drop support for iOS 8 (#65) (featherless)
v6.0.0
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
- Add missing import (#60) (Louis Romero)
Non-source changes
- Update bazel workspace to latest versions. (#63) (featherless)
v5.0.0
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
- [breaking] Rename the transitionController Swift API to mdm_transitionController. (#59) (featherless)
API changes
UIViewController
renamed (swift) method: transitionController
to mdm_transitionController
.
v4.0.2
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
- Standardize the kokoro and bazel files. (#51) (featherless)
v4.0.1
This patch release resolves a build warning and migrates the project's continuous integration to
bazel and kokoro.
Source changes
v4.0.0
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 protocolMDMTransitionWithFeasibility
and returnNO
for
canPerformTransitionWithContext:
.MDMTransitionDirection
has been renamed toTransitionDirection
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
- Add nullability annotations to MDMTransitionNavigationControllerDelegate. (#46) (featherless)
- Update Xcode build settings to Xcode 9 warnings and resolve build error. (Jeff Verkoeyen)
- Rework multi-transition support using composition. (#43) (featherless)
- Fix the Swift symbol name for MDMTransitionDirection. (#44) (featherless)
- Fix bug where transitions would not complete if the presentation controller didn't implement the startWithContext method. (#45) (featherless)
- Fix broken unit tests. (Jeff Verkoeyen)
- Add multi-transition support. (#40) (featherless)
- Remove unused protocol forward declaration. (Jeff Verkoeyen)
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
- Add platform to the Podfile per pod install recommendation. (Jeff Verkoeyen)
v3.3.0
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 toMDMTransitionWithFeasibility
and return NO.
Source changes
API changes
MDMTransitionWithFeasibility
new protocol MDMTransitionWithFeasibility
.
v3.2.1
This patch release resolves Xcode 9 compiler warnings.
Source changes
- Explicitly include void for block parameters. (#41) (ianegordon)