Contents

makeContainer(context:)

Creates a container that represents the attributed string.

Declaration

func makeContainer(context: IntentValueContainer.ConversionContext) -> IntentValueContainer

Parameters

  • 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.