One Logo Pool Ball
AppIntentsTypeSupport · IOS API REFERENCE

AttributedTypeIdentifier

struct · iOS 27.0+ · SDK 27.1

struct AttributedTypeIdentifier

A unique identifier for an app entity or transient app entity type within an application bundle. Use `AttributedTypeIdentifier` to uniquely identify entity types across your application. This identifier combines a persistent identifier — typically the entity's type name — with an optional bundle identifier to ensure uniqueness across different bundles. The system uses these identifiers to track and reference entity types throughout the AppIntents framework, particularly when working with entity specifications, containers, and identifiers.

Members (3)

init · iOS 27.0+

init

TypeScript
static init(persistentIdentifier: string, bundleIdentifier?: (string) | null): AttributedTypeIdentifier
Swift declaration
init(persistentIdentifier: String, bundleIdentifier: String? = nil)

Creates a new attributed type identifier. - Parameters: - persistentIdentifier: The persistent identifier for the entity type, typically the struct name. - bundleIdentifier: The optional bundle identifier that contains this entity type.

get · iOS 27.0+

persistentIdentifier

TypeScript
get persistentIdentifier(): string
Swift declaration
let persistentIdentifier: String

The persistent identifier for this entity type. This identifier typically corresponds to the struct name of the original entity declaration (for example, `LandmarkEntity`). The system uses this value to uniquely identify the entity type within its bundle.

get · iOS 27.0+

bundleIdentifier

TypeScript
get bundleIdentifier(): (string) | null
Swift declaration
let bundleIdentifier: String?

The bundle identifier that contains this entity type. When non-nil, this value identifies the application bundle that defines the entity type. This helps distinguish between entity types with the same name across different applications.

Skipped declarations

No declarations were skipped in this snapshot.

All AppIntentsTypeSupport types →