Show
public struct Show : NavigationSideEffect
extension Show: CustomDebugStringConvertible
Navigation action used to ask the Navigator
to show a specific screen
identified by the identifierToShow
.
The ViewController
that is managing that screen must implement RoutableWithConfiguration
or Routable
in order to be identified with a matching Routable.routeIdentifier
.
-
The identifiers of the
Routable
to be shownDeclaration
Swift
public let identifiersToShow: [RouteElementIdentifier]
-
Specify if the
Show
should be animatedDeclaration
Swift
public let animated: Bool
-
The context of the
Show
Declaration
Swift
public let context: Any?
-
Initializes and return a Show action.
Declaration
Swift
public init(_ identifiersToShow: [RouteElementIdentifier], animated: Bool = false, context: Any? = nil)
-
Initializes and returns a Show action.
Declaration
Swift
public init(_ identifierToShow: RouteElementIdentifier, animated: Bool = false, context: Any? = nil)
-
Initializes and returns a Show action.
Declaration
Swift
public init<K>(_ identifiersToShow: [K], animated: Bool = false, context: Any? = nil) where K: RawRepresentable, K.RawValue == RouteElementIdentifier
-
Initializes and returns a Show action.
Declaration
Swift
public init<K>(_ identifierToShow: K, animated: Bool = false, context: Any? = nil) where K: RawRepresentable, K.RawValue == RouteElementIdentifier
-
The side effect of the action, look into Katana to know what a
SideEffect
is.Declaration
Swift
public func anySideEffect(_ context: AnySideEffectContext) throws -> Any
-
Declaration
Swift
public var debugDescription: String { get }