DestinationInternalStateable
public protocol DestinationInternalStateable<UserInteractionType, DestinationType, TabType, ContentType, InteractorType>
This protocol represents classes which the internal state of classes conforming to the Destinationable protocol.
-
An enum which defines user interaction types for this Destination’s interface.
Declaration
Swift
associatedtype UserInteractionType : UserInteractionTypeable -
An enum which defines all routable Destinations in the app.
Declaration
Swift
associatedtype DestinationType : RoutableDestinations -
An enum which defines types of Interactors. Each Destination may have its own Interactor types.
Declaration
Swift
associatedtype InteractorType : InteractorTypeable -
An enum which defines types of tabs in a tab bar.
Declaration
Swift
associatedtype TabType : TabTypeable -
An enum which defines the types of content that are able to be sent through Destinations.
Declaration
Swift
associatedtype ContentType : ContentTypeable -
The identifier of this object’s parent Destination.
Declaration
Swift
var parentDestinationID: UUID? { get set } -
An
AppDestinationConfigurationsobject representing configurations to handle user interactions on this Destination’s associated UI.Declaration
Swift
var destinationConfigurations: AppDestinationConfigurations<UserInteractionType, DestinationType, ContentType, TabType>? { get set } -
An
AppDestinationConfigurationsinstance that holds configurations to handle system navigation events related to this Destination.Declaration
Swift
var systemNavigationConfigurations: AppDestinationConfigurations<SystemNavigationType, DestinationType, ContentType, TabType>? { get set } -
A Boolean that denotes whether the UI is currently in a navigation transition.
Declaration
Swift
var isSystemNavigating: Bool { get set } -
A dictionary of interactors, with the associated keys being their interactor type.
Declaration
Swift
var interactors: [InteractorType : any AbstractInteractable] { get set } -
A dictionary of
InterfaceActionobjects, with the key being the associated user interaction type.Declaration
Swift
var interfaceActions: [UserInteractionType : InterfaceAction<UserInteractionType, DestinationType, ContentType>] { get set } -
A dictionary of system navigation interface actions which are run when certain system navigation events occur, with the key being the associated system navigation type.
Declaration
Swift
var systemNavigationActions: [SystemNavigationType : InterfaceAction<SystemNavigationType, DestinationType, ContentType>] { get set } -
A dictionary of assistants which help the Destination make requests of an interactor, with the key being the associated user interaction type.
Declaration
Swift
var interactorAssistants: [UserInteractionType : any InteractorAssisting<InteractorType, ContentType>] { get set }
View on GitHub