DestinationInterfaceState
@MainActor
public final class DestinationInterfaceState<Destination> : DestinationStateable where Destination : Destinationable
Manages state for a Destination’s interface and holds a reference to it.
-
The Destination which user interaction events are sent to.
Declaration
Swift
@MainActor public var destination: Destination { get set }
-
The initializer.
Declaration
Swift
@MainActor public init(destination: Destination)
Parameters
destination
The Destination associated with this state model.