makeContainer(context:)
Creates a container that represents the attributed string.
Declaration
func makeContainer(context: IntentValueContainer.ConversionContext) -> IntentValueContainerParameters
- context:
The context to use for the conversion.
Return Value
An intent value container representing this attributed string.
Discussion
This method converts the AttributedString to an NSAttributedString and wraps it in an intent value container.