One Logo Pool Ball
AppIntents · IOS API REFERENCE

AppEntity.ValueRepresentation

typealias · iOS 26.4+ · SDK 27.1

typealias ValueRepresentation = IntentValueRepresentation

A type alias for `IntentValueRepresentation`, providing a convenient way to define transfer representations that convert between app entities and system intent values. Use `ValueRepresentation` in your entity's `transferRepresentation` to enable bidirectional conversion with system types like `IntentPerson`, `PlaceDescriptor`, and other `_SystemIntentValue` types. ## Example ```swift struct ContactEntity: AppEntity, Transferable { static var transferRepresentation: some TransferRepresentation { ValueRepresentation( exporting: { entity in IntentPerson( name: .displayName(entity.name), handle: .init(emailAddress: entity.email) ) }, importing: { person in ContactEntity( name: person.name.displayString, email: person.handle?.value ?? "" ) } ) } } ```

Members (0)

This type has no directly callable members in this snapshot. See the framework’s skipped declarations for unsupported APIs.

Skipped declarations

No declarations were skipped in this snapshot.

All AppIntents types →