ControllerDestination
@MainActor
public final class ControllerDestination<ControllerDestinationType, UserInteractionType, DestinationType, ContentType, TabType, InteractorType> : ControllerDestinationable where ControllerDestinationType : ControllerDestinationInterfacing, UserInteractionType : UserInteractionTypeable, DestinationType : RoutableDestinations, ContentType : ContentTypeable, TabType : TabTypeable, InteractorType : InteractorTypeable
extension ControllerDestination: Equatable
extension ControllerDestination: @preconcurrency CustomStringConvertible
A Destination class whose associated user interface is a UIViewController.
This is a generic Destination that can be used to represent most UIViewController subclasses 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 let type: DestinationType -
The
UIViewControllerclass associated with this Destination.Declaration
Swift
@MainActor public var controller: ControllerType? { get set } -
Declaration
Swift
@MainActor public var internalState: DestinationInternalState<UserInteractionType, DestinationType, ContentType, TabType, InteractorType> { get set } -
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: ControllerDestination, rhs: ControllerDestination) -> Bool -
Declaration
Swift
@MainActor public var description: String { get }
View on GitHub