18 Commits

Author SHA1 Message Date
ianegordon
49de50edae Consolidate installation requirements in the main README (#2809) 2018-01-05 13:50:38 -05:00
Yarden Eitan
29d760c7d6
Added isPresentable to catalog files, ported over ZShadow to dragons. (#2726) 2017-12-15 12:20:35 -05:00
Robert Moore
5746134132 [MaskedTransition] Add BUILD file and no-op test (#2708) 2017-12-14 02:21:23 -05:00
featherless
b9404ded10
Revert "Add compile time flag for import style (#2562)" (#2612)
This reverts commit 6791dc4993d3a0ffa11735eeeef0583102621d52.
2017-12-06 11:22:17 -05:00
Louis Romero
6791dc4993
Add compile time flag for import style (#2562)
Closes #2550
2017-12-04 10:06:31 -08: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
featherless
2ab8cf5c78
[MaskedTransition] Convert motion spec to an Objective-C static class. (#2460)
* [MaskedTransition] Convert motion spec to an Objective-C static class.

The interchange library will soon be dropping support for static spec initialization in favor of runtime APIs. This change moves the MaskedTransition off of all macro-based APIs.

* Fix API name.

* Fix type.

* Types.
2017-11-17 13:41:36 -05:00
featherless
655712a616
[MaskedTransition] Update the component with MotionAnimator v2 APIs. (#2386) 2017-11-09 22:23:59 -05:00
Robert Moore
4d49d02d13
[MaskedTransition] Fix imports of private headers (#2331)
Also added missing UIKit import.
2017-11-03 09:21:41 -04:00
Martin Petrov
f98a9d42ed @objc annoaing catalog by convention (#2305) 2017-10-30 10:24:17 -04:00
featherless
7d1f3aed00 [MaskedTransition] Fix bug where transitions wouldn't complete. (#2293)
This bug was introduced by the upgrade to MotionTransitioning 4.0. 4.0 requires that if a presentation controller implements MDMTransition, that its start method eventually invokes transitionDidEnd.
2017-10-27 11:32:44 -04:00
featherless
c4b7bce94e [MaskedTransition] Use the provided key path consts from MotionAnimator. (#2294) 2017-10-26 16:03:10 -04:00
featherless
b238e8bbf3 [MaskedTransition] Upgrade to MotionTransitioning v3.3.0. (#2077)
* Upgrade MaskedTransition to MotionTransitioning v3.3.0.

* Update demos/Bare/Podfile.lock.
2017-10-03 14:35:40 -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
Robert Moore
5498005f65 [Catalog] Enabling all "unused" warnings (#1875)
Re-enabling warnings for unused parameters. Turning on every other
unused warning I could find.

Closes #1874
2017-08-29 17:57:41 -04:00
Adrian Secord
b89b714964 [Jazzy] Ran scripts/generate_jazzy_yamls.sh for new components. (#1766) 2017-08-10 16:22:49 -04:00
Adrian Secord
9e885d9f75 [MDCMaskedTransition] Fixed Xcode 9 block declaration. 2017-08-09 18:25:54 -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