Classes
The following classes are available globally.
-
A segue to implement the Deck transition via Storyboards
To use this, set your segue’s class to
See moreDeckSegue, and itskindtocustomDeclaration
Swift
public final class DeckSegue: UIStoryboardSegue
-
The DeckTransitioningDelegate class vends out the presentation and animation controllers required to present a view controller with the Deck transition style
The following snippet described the steps for presenting a given
ModalViewControllerwith theDeckTransitioningDelegate
See morelet modal = ModalViewController() let transitionDelegate = DeckTransitioningDelegate() modal.transitioningDelegate = transitionDelegate modal.modalPresentationStyle = .custom present(modal, animated: true, completion: nil)Declaration
Swift
public final class DeckTransitioningDelegate: NSObject, UIViewControllerTransitioningDelegate
View on GitHub
Install in Dash
Classes Reference