ScreenPresentAction
public struct ScreenPresentAction<
New: Screen,
Container: UIViewController
>: ScreenAction where New.Container: UIViewController
Presents a screen modally.
-
The type of value returned by the action.
Declaration
Swift
public typealias Output = New.Container
-
The screen to display over the current container’s content.
See also
Screen
Declaration
Swift
public let screen: New
-
A Boolean value indicating whether the transition will be animated.
Declaration
Swift
public let animated: Bool
-
Creates an action.
Declaration
Swift
public init(screen: New, animated: Bool = true)
Parameters
screen
The screen to display over the current container’s content.
animated
A Boolean value indicating whether the transition will be animated. The default value is
true
. -
Declaration
Swift
public func perform( container: Container, navigator: ScreenNavigator, completion: @escaping Completion )