TechnologiesApp Extensions & System Integration

AppIntentsTypeSupport

iOSmacOStvOSwatchOSvisionOS

AppIntentsTypeSupport provides the type support that lets AppIntents reference and retrieve specific entity instances across the system. Use AppEntityIdentifier and the attributed identifiers AttributedEntityIdentifier and AttributedTypeIdentifier to identify entities and their types, and use IntentValueContainer together with IntentValueExpression to carry intent values. Conform your types to IntentValueConvertible, IntentValueConvertibleWrapper, or IntentValueExpressing to express and convert values that intents consume on iOS, macOS, tvOS, watchOS, and visionOS.

Entity Identifiers 3

Identifiers that reference and retrieve specific entity instances and their types across the system.

  • St
    AppEntityIdentifier
    A structure that identifies a specific app entity instance referenced by an intent.
  • St
    AttributedEntityIdentifieriOS 27.0+
    A unique identifier for an app entity instance within an application.
  • St
    AttributedTypeIdentifieriOS 27.0+
    A unique identifier for an app entity or transient app entity type within an application bundle.

Intent Values 2

Containers and expressions that carry the values an intent consumes and produces.

  • St
    IntentValueContaineriOS 27.0+
    A container that stores a value that supports intent value conversion.
  • St
    IntentValueExpressioniOS 27.0+
    A type that represents a lazily evaluated intent value.

Value Conversion 3

Protocols that let your types express and convert the values intents work with.

  • Pr
    IntentValueConvertibleiOS 27.0+
    A protocol that allows the system to use types to as app intent parameters or properties.
  • Pr
    IntentValueConvertibleWrapperiOS 27.0+
    A protocol for types that wrap another intent value that supports conversion.
  • Pr
    IntentValueExpressingiOS 27.0+
    A protocol for types that can create intent value expressions.

Extends 21

ArraySetOptionalAttributedStringBoolDateDateComponentsDoubleIntInt8Int16Int32Int64CLPlacemarkStringURLNeverDateIntervalDurationPersonNameComponentsMeasurement
← App Extensions & System Integration