Skip to content

AnyScreen

ohitsdaniel edited this page Apr 29, 2021 · 4 revisions

AnyScreen

Type-erased representation of Screen objects

public struct AnyScreen: Hashable, Screen 

Inheritance

Hashable, Screen

Initializers

init(_:)

public init<S: Screen>(_ route: S) 

Properties

presentationStyle

public let presentationStyle: ScreenPresentationStyle

Methods

unwrap()

public func unwrap<S: Screen>() -> S? 

`is`(_:)

public func `is`<S: Screen>(_ screenType: S.Type) -> Bool 
Clone this wiki locally