Contents

IntentValueConvertible

A protocol that allows the system to use types to as app intent parameters or properties.

Declaration

protocol IntentValueConvertible : IntentValueExpressing

Overview

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.

Topics

Instance Methods

See Also

Type conversions