NavigatingControllerDestinationable
@MainActor
public protocol NavigatingControllerDestinationable<PresentationConfiguration> : ControllerDestinationable, GroupedDestinationable where Self.ControllerType : UINavigationController
This protocol represents a Destination whose interface is a UINavigationController
.
-
navigateBackInStack(presentationID:
Default implementation) Removes the current Destination and navigates to the previous Destination in the
UINavigationController
stack, if one exists.Default Implementation
Declaration
Swift
@MainActor func navigateBackInStack(presentationID: UUID?)
Parameters
previousPresentationID
An optional unique identifier of the previous Destination.
-
supportsIgnoringCurrentDestinationStatus
Extension methodDeclaration
Swift
@MainActor var supportsIgnoringCurrentDestinationStatus: Bool { get }
-
Declaration
Swift
@MainActor func addChild(childDestination: any Destinationable<PresentationConfiguration>, shouldSetDestinationAsCurrent: Bool? = true, shouldAnimate: Bool? = true)
-
replaceChild(currentID:
Extension methodwith: ) Undocumented
Declaration
Swift
@MainActor func replaceChild(currentID: UUID, with newDestination: any Destinationable<PresentationConfiguration>)