Protocols

The following protocols are available globally.

  • A protocol to communicate to the transition that an update of the snapshot view is required. This is adopted only by the presentation controller of any view controller presented using DeckTransition

    See more

    Declaration

    Swift

    public protocol DeckSnapshotUpdater
  • A set of methods that vend objects used to customize a DeckTransition presentation’s swipe-to-dismiss behaviour.

    The transition has an internal heuristic to determine which UIScrollView should be tracked for the swipe-to-dismiss gesture. However that has some edge cases, which can we worked around by making your modal view controller and view controllers presented by or contained within it conform to this protocol.

    See more

    Declaration

    Swift

    @objc public protocol DeckTransitionViewControllerProtocol: class