The following classes are available globally.
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
let modal = ModalViewController() let transitionDelegate = DeckTransitioningDelegate() modal.transitioningDelegate = transitionDelegate modal.modalPresentationStyle = .custom present(modal, animated: true, completion: nil)
public final class DeckTransitioningDelegate: NSObject, UIViewControllerTransitioningDelegate