NavigationControllerDestination
@MainActor
public final class NavigationControllerDestination<ControllerDestinationType, UserInteractionType, DestinationType, ContentType, TabType, InteractorType> : NavigatingControllerDestinationable where ControllerDestinationType : NavigationControllerDestinationInterfacing, UserInteractionType : UserInteractionTypeable, DestinationType : RoutableDestinations, ContentType : ContentTypeable, TabType : TabTypeable, InteractorType : InteractorTypeable
extension NavigationControllerDestination: Equatable
extension NavigationControllerDestination: @preconcurrency CustomStringConvertible
A Destination class whose associated user interface is a UINavigationController.
This is a generic Destination that can be used to represent most UINavigationController classes in a UIKit-based app.
-
Declaration
Swift
public typealias ControllerType = ControllerDestinationType -
A unique identifier.
Declaration
Swift
@MainActor public let id: UUID -
This enum value conforming to
RoutableDestinationsrepresents a specific Destination type.Declaration
Swift
@MainActor public var type: DestinationType -
The
UIViewControllerclass associated with this Destination.Declaration
Swift
@MainActor public var controller: ControllerType? -
Declaration
Swift
@MainActor public var internalState: DestinationInternalState<UserInteractionType, DestinationType, ContentType, TabType, InteractorType> -
Declaration
Swift
@MainActor public var groupInternalState: GroupDestinationInternalState<DestinationType, ContentType, TabType> -
The initializer.
Declaration
Swift
@MainActor public init(destinationType: DestinationType, destinationConfigurations: DestinationConfigurations? = nil, navigationConfigurations: NavigationConfigurations? = nil, parentDestination: UUID? = nil)Parameters
destinationTypeThe type of Destination.
destinationConfigurationsThe Destination presentation configurations associated with this Destination.
navigationConfigurationsThe system navigation events associated with this Destination.
parentDestinationThe identifier of the parent Destination.
-
Declaration
Swift
@MainActor public func prepareForPresentation() -
Declaration
Swift
nonisolated public static func == (lhs: NavigationControllerDestination, rhs: NavigationControllerDestination) -> Bool -
Declaration
Swift
@MainActor public var description: String { get }
View on GitHub