5 Commits

Author SHA1 Message Date
Yarden Eitan
29d760c7d6
Added isPresentable to catalog files, ported over ZShadow to dragons. (#2726) 2017-12-15 12:20:35 -05:00
featherless
3832377382 Bump the transitioning dependency to v5.0.0 (#2525)
* Bump the transitioning dependency to v5.0.0

* Bump Dialogs.

* Update example.
2017-11-29 11:35:56 -05:00
Martin Petrov
f98a9d42ed @objc annoaing catalog by convention (#2305) 2017-10-30 10:24:17 -04:00
Robert Moore
8940d77d6d [Catalog] Verify all examples provide CatalogByConvention methods (#1911)
All examples now have at least the required `+catalogBreadcrumbs` and `+catalogIsPrimaryDemo`.  All examples in the same breadcrumbs path have only one primary demo.  There should be only one `-catalogDescription` attached to the primary demo.

Closes #1897
2017-08-31 08:46:10 -04:00
featherless
61acb1cbb0 Add Masked Transition component. (#1513)
* Add Masked Transition component.

This component makes it possible to present a view controller from a source view, such as a floating action button, using a masked reveal transition.

This component depends on Material Motion's Transitioning, MotionInterchange, and MotionAnimator libraries.

The component itself is a Transition instance and can be used like this:

    vc.transitionController.transition = MDCMaskedTransition(sourceView: fab)
    present(vc, animated: true)

The component's motion is defined in its motion spec and was extracted directly from the Material motion spec.

The transition supports the following contexts:

- Fullscreen
- Bottom sheet
- Floating card
- Bottom toolbar

* Code review feedback.

* Add README.md.

* Copy the frame calculation block.

* Reword the overview to reduce implementation details.

* Remove scrim sharing and document full screen behavior.

* Audit rect math and remove example debug logs.

* Update to use hypot.

* Remove presentation controller storage.

* Update podspec with new MotionTransitioning dependency.

* Fix autoresizing bugs and update header import names.

* Fix floating point conversion warning.

* Use bottomCard spec for all positions.
2017-07-20 16:38:17 -04:00