DefaultActionAssistant
@MainActor
public final class DefaultActionAssistant<UserInteractionType, DestinationType, ContentType> : InterfaceActionConfiguring where UserInteractionType : UserInteractionTypeable, DestinationType : RoutableDestinations, ContentType : ContentTypeable
A default assistant to be used to configure interface actions. 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<UserInteractionType, DestinationType, ContentType>, interactionType: UserInteractionType, destination: any Destinationable, content: ContentType? = nil) -> InterfaceAction<UserInteractionType, DestinationType, ContentType>
View on GitHub