SwiftUIContainerDestinationable
@MainActor
public protocol SwiftUIContainerDestinationable<DestinationType, ContentType, TabType> : ControllerDestinationable
This protocol represents the Destination of a UIKit controller which hosts SwiftUI content.
-
Presents a SwiftUI
ViewDestination within this container.Note
This method is only called if the presentation’s
presentationTypeis anavigationController()orsplitView()type. If the presentation’spresentationTypeis asplitView(), this method will change it to a.navigationController()type before passing it on to theviewFlow.Declaration
Swift
@MainActor func presentDestination(presentation: DestinationPresentation<DestinationType, ContentType, TabType>)Parameters
presentationThe Destination presentation representing the
Viewto be presented.
View on GitHub