PresentationTransition
open class PresentationTransition : BaseTransition, ViewTransition
Class, that encapsulates UIViewController.present(_:animated:) method call as a transition.
-
Transition type .show
Declaration
Swift
public let transitionType: TransitionType -
Performs transition by calling
present(_:animated:)onvisibleViewwithviewargument.Declaration
Swift
public func perform(with view: ViewController?, on visibleView: ViewController?, completion: ((Bool) -> Void)?)Parameters
viewview that is being presented.
visibleViewvisible view, on which presentation will being performed.
completioncalled once presentation has been completed.
View on GitHub
Install in Dash
PresentationTransition Class Reference