A library to recreate the iOS Apple Music now playing transition
This will likely be the last version of the library to support iOS 9 and 10. Please see the issue about DeckTransition 3.0 for more information.
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.
The isDismissEnabled
property on DeckTransitioningDelegate
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.
isSwipeToDismissEnabled
parameter is added to the DeckTransitioningDelegate
initializer, to disable the swipe-to-dismiss gesture entirely, if need be. This is set to true
by default and requires no change to retain previous behaviour.This is the last version of this framework to support Swift 3.x. Further development will be done on Swift 4.x