Structures

The following structures are available globally.

  • This model provides closures which drive a custom Destination presentation.

    See more

    Declaration

    Swift

    public struct CustomPresentation<PresentationConfiguration> where PresentationConfiguration : DestinationPresentationConfiguring
  • This model is used to send data with system navigation events.

    See more

    Declaration

    Swift

    public struct SystemNavigationOptions
  • This model is used to configure how an interactor is used in a Destination.

    See more

    Declaration

    Swift

    public struct InteractorConfiguration<InteractorType, Interactor> : InteractorConfiguring where InteractorType : InteractorTypeable, Interactor : Interactable
  • Represents an action to be taken when a user interacts with a particular interface element.

    See more

    Declaration

    Swift

    public struct InterfaceAction<UserInteractionType, DestinationType, ContentType> : Equatable, Hashable where UserInteractionType : UserInteractionTypeable, DestinationType : RoutableDestinations, ContentType : ContentTypeable
  • A model which provides data for an interface action to configure a presentation.

    See more

    Declaration

    Swift

    public struct InterfaceActionData<DestinationType, ContentType> where DestinationType : RoutableDestinations, ContentType : ContentTypeable
  • An options model that configures how a Destination is presented within a navigation stack, either within a NavigationStack in SwiftUI or a UINavigationController in UIKit.

    See more

    Declaration

    Swift

    public struct NavigationStackPresentationOptions
  • An options model used in conjunction with SheetPresentationType to customize UIKit and SwiftUI modal sheet presentations.

    See more

    Declaration

    Swift

    public struct SheetPresentationOptions
  • A model used to facilitate UIKit and SwiftUI presentations of a Destination in a split view interface.

    See more

    Declaration

    Swift

    public struct SplitViewColumn
  • This View provides a way to display a View that is fed from an external binding.

    See more

    Declaration

    Swift

    @MainActor
    public struct BindableContainerView : View, Identifiable
  • Provides a wrapper for a SwiftUI View, useful for passing Views in models.

    See more

    Declaration

    Swift

    @MainActor
    public struct ContainerView<Content> : View, Identifiable, Equatable where Content : View
  • A model used for presenting a SwiftUI sheet element.

    See more

    Declaration

    Swift

    public struct Sheet : Sheetable
  • A ViewModifier that adds a custom back button for NavigationStack views, which allows integration with NavigatingViewDestinationable-conforming Views.

    See more

    Declaration

    Swift

    @MainActor
    public struct BackNavigationModifier : ViewModifier
  • A ViewModifier that handles the removal of a Destination from the Destinations ecosystem when its associated View disappears from a NavigationStack.

    See more

    Declaration

    Swift

    @MainActor
    public struct DestinationDisappearModifier : ViewModifier
  • This SwiftUI ViewModifier manages the presentation of a sheet.

    See more

    Declaration

    Swift

    @MainActor
    public struct SheetPresenter : ViewModifier
  • A model providing configuration options for SwiftUI sheet presentations.

    See more

    Declaration

    Swift

    public struct ViewSheetPresentationOptions
  • A model providing configuration options for UIKit sheet presentations.

    See more

    Declaration

    Swift

    public struct ControllerSheetPresentationOptions