NavigationDestinationStateable

@MainActor
public protocol NavigationDestinationStateable<Destination> : DestinationStateable

This protocol represents an interface’s state object, holding a reference to its associated Destination and a navigator object which manages the state of the interface’s navigation stack.

  • The navigator object which handles the state of the navigation stack associated with this user interface.

    Declaration

    Swift

    @MainActor
    var navigator: any DestinationPathNavigating { get set }