A protocol that allows the system to use types to as app intent parameters or properties.
A type that conforms to `IntentValueConvertible` enables the App Intents framework to convert it to and from intent value
containers. This protocol forms the
foundation of the App Intents type conversion system, enabling seamless data exchange between
your app and the AppIntents framework.
To make a custom type usable in AppIntents, conform it to this protocol by implementing
the required ``makeContainer(context:)`` method.
Members (1)
method · iOS 27.0+
makeExpression
Swift declaration
func makeExpression() -> IntentValueExpression
Creates an intent value expression that represents this value.
This implementation creates an expression that wraps this value directly,
allowing for lazy evaluation during the conversion process.
- Returns: An intent value expression representing this value.