Add support for fallback transitions.
ClosedPublic

Authored by featherless on May 16 2017, 12:04 PM.

Details

Summary

This new API allows transitions to fallback to other transition types in certain contexts. For example, a full-screen fab transition might choose to fall back to a modal slide transition when being dismissed.

In order to check sameness we had to make Transition a class protocol. This doesn't affect any existing transition implementations because they are all classes in practice.

Diff Detail

Repository
rREACTIVEMOTIONSWIFT reactive-motion-swift
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
featherless created this revision.May 16 2017, 12:04 PM
Restricted Application added a reviewer: O2: Material Motion. · View Herald TranscriptMay 16 2017, 12:04 PM
Restricted Application added a project: Material Motion. · View Herald Transcript
Restricted Application added a reviewer: O4: Material Apple platform reviewers. · View Herald Transcript
Restricted Application added a reviewer: Material Motion. · View Herald Transcript
featherless edited the summary of this revision. (Show Details)May 16 2017, 12:04 PM
featherless edited the summary of this revision. (Show Details)
This revision is now accepted and ready to land.May 16 2017, 2:23 PM
This revision was automatically updated to reflect the committed changes.