| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| 2.0 source code.tar.gz | 2017-12-08 | 2.4 MB | |
| 2.0 source code.zip | 2017-12-08 | 2.5 MB | |
| README.md | 2017-12-08 | 1.1 kB | |
| Totals: 3 Items | 4.9 MB | 0 | |
DeckTransition is now at version 2.0! đ
This is a major API upgrade. The previous API which required UIScrollViewDelegate conformance has been entirely removed, and is replaced by an automatic UIScrollView detection mechanism.
API Breaking Changes
- The
isDismissEnabledproperty onDeckTransitioningDelegateis removed. This behaviour is now managed automatically, which means that your old dismissal code is no longer needed and can be removed entirely, and your existing view controllers should "just work" in most cases.
There exist some edge cases with the new mechanism, more about which, including workarounds, can be found in the documentationÊŒs new UIScrollView detection guide.
Other Changes
- A new
isSwipeToDismissEnabledparameter is added to theDeckTransitioningDelegateinitializer, to disable the swipe-to-dismiss gesture entirely, if need be. This is set totrueby default and requires no change to retain previous behaviour.