DeckTransition v2.0.0 Release Notes
Release Date: 2017-12-08 // over 6 years ago-
🍱 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 automaticUIScrollView
detection mechanism.API Breaking Changes
🚚 The
isDismissEnabled
property onDeckTransitioningDelegate
is 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
- 0️⃣ A new
isSwipeToDismissEnabled
parameter is added to theDeckTransitioningDelegate
initializer, to disable the swipe-to-dismiss gesture entirely, if need be. This is set totrue
by default and requires no change to retain previous behaviour.
- 0️⃣ A new