makeContainer(context:)
Creates an intent value container that represents this value.
Declaration
func makeContainer(context: IntentValueContainer.ConversionContext) -> IntentValueContainerParameters
- context:
The context to use for the conversion.
Return Value
An intent value container representing this value.
Discussion
This method converts the value to a type-erased container that App Intents can use. The container encapsulates the value and provides mechanisms for type-safe access and conversion.