DefaultPresentationAssistant
@MainActor
public final class DefaultPresentationAssistant<EventType, DestinationType, ContentType> : InterfaceActionConfiguring where EventType : EventTypeable, DestinationType : RoutableDestinations, ContentType : ContentTypeable
A default assistant to be used to configure the presentation of Destination routes. This only adds the the current Destination’s id as the parentID value.
-
The initializer.
Declaration
Swift
@MainActor public init() -
Declaration
Swift
@MainActor public func configure(interfaceAction: InterfaceAction<EventType, DestinationType, ContentType>, eventType: EventType, destination: any Destinationable, content: ContentType? = nil) -> InterfaceAction<EventType, DestinationType, ContentType>
View on GitHub