Type Aliases
The following type aliases are available globally.
- 
                  
                  A closure which drives a custom SwiftUI Destination presentation. Important At the end of your custom presentation you must callcompletionClosure, passing a Boolean for whether the presentation or setup succeeds or fails.DeclarationSwift public typealias CustomViewPresentationClosure<DestinationType: RoutableDestinations, ContentType: ContentTypeable, TabType: TabTypeable> = ( _ destinationToPresent: (any ViewDestinationable<DestinationType, ContentType, TabType>)?, _ currentDestination: (any ViewDestinationable<DestinationType, ContentType, TabType>)?, _ parentOfCurrentDestination: (any ViewDestinationable)?, _ completionClosure: ((Bool) -> Void)?) -> Void
- 
                  
                  A closure which drives a custom UIKit Destination presentation. Important At the end of your custom presentation you must callcompletionClosure, passing a Boolean for whether the presentation or setup succeeds or fails.DeclarationSwift public typealias CustomControllerPresentationClosure<DestinationType: RoutableDestinations, ContentType: ContentTypeable, TabType: TabTypeable> = ( _ destinationToPresent: (any ControllerDestinationable<DestinationType, ContentType, TabType>)?, _ rootController: (any ControllerDestinationInterfacing)?, _ currentDestination: (any ControllerDestinationable)?, _ parentOfCurrentDestination: (any ControllerDestinationable)?, _ completionClosure: ((Bool) -> Void)?) -> Void
- 
                  
                  A generic closure which provides a result to an Interactor request. This closure is generally used with Interactors conforming to Interactable, which runs in a synchronous context. It provides both the result data and the original request object.DeclarationSwift public typealias InteractorResponseClosure<Request> = (_ result: Result<Request.ResultData, Error>, _ request: Request) -> Void where Request : InteractorRequestConfiguring
- 
                  
                  A closure which is called when a Destination should be removed from the Flow object managing the ecosystem, typically after it’s associated UI object is no longer being presented. DeclarationSwift public typealias RemoveDestinationFromFlowClosure = ((_ removalID: UUID) -> Void)
- 
                  
                  A closure that is activated when a Destination presentation has completed. DeclarationSwift public typealias PresentationCompletionClosure = ((_ didComplete: Bool) -> Void)
- 
                  
                  A closure run when a child Destination is removed from a GroupedDestinationableobject.DeclarationSwift public typealias GroupChildRemovedClosure = (_ destinationID: UUID) -> Void
- 
                  
                  A closure run when the current child Destination of a GroupedDestinationablehas changed.DeclarationSwift public typealias GroupCurrentDestinationChangedClosure = (_ destinationID: UUID?) -> Void
- 
                  
                  A closure to be run when a Destination is presented in a tab. DeclarationSwift public typealias TabBarViewDestinationPresentationClosure<DestinationType, ContentType, TabType> = (_ destination: any ViewDestinationable<DestinationType, ContentType, TabType>, _ tabViewID: UUID) -> Void where DestinationType : RoutableDestinations, ContentType : ContentTypeable, TabType : TabTypeable
- 
                  
                  A closure to be run when the selectedTabproperty changed.DeclarationSwift public typealias TabBarViewSelectedTabUpdatedClosure<TabType> = (_ selectedTab: TabModel<TabType>) -> Void where TabType : TabTypeable
- 
                  
                  A closure to be run when the selectedTabproperty of aTabBarControllerDestinationableobject has changed.DeclarationSwift public typealias TabBarControllerSelectedTabUpdatedClosure<TabType> = (_ selectedTab: TabModel<TabType>) -> Void where TabType : TabTypeable
- 
                  
                  A closure run when a sheet is dismissed. DeclarationSwift public typealias SheetDismissalClosure = () -> Void
- 
                  
                  A closure used for configuring a UISheetPresentationControllerbefore the sheet is presented.DeclarationSwift public typealias SheetPresentationControllerConfigurationClosure = (_ presentationController: UISheetPresentationController) -> Void
 View on GitHub
            View on GitHub
           Type Aliases  Reference
      Type Aliases  Reference