DestinationStateable

@MainActor
public protocol DestinationStateable<Destination> : AnyObject

This protocol represents an interface’s state object which holds a reference to its associated Destination.

  • The Destination type associated with this state model.

    Declaration

    Swift

    associatedtype Destination : Destinationable
  • A reference to the Destination object.

    Declaration

    Swift

    @MainActor
    var destination: Destination { get set }