<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: -",
    "macOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -",
    "watchOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppIntents",
  "identifier" : "/documentation/AppIntents/AttributedTypeIdentifier",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "App Intents"
    ],
    "preciseIdentifier" : "s:21AppIntentsTypeSupport010AttributedC10IdentifierV"
  },
  "title" : "AttributedTypeIdentifier"
}
-->

# AttributedTypeIdentifier

A unique identifier for an app entity or transient app entity type within an application bundle.

```
struct AttributedTypeIdentifier
```

## Overview

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.

## Topics

### Initializers

[`init(persistentIdentifier: String, bundleIdentifier: String?)`](/documentation/AppIntents/AttributedTypeIdentifier/init(persistentIdentifier:bundleIdentifier:))

Creates a new attributed type identifier.

### Instance Properties

[`let bundleIdentifier: String?`](/documentation/AppIntents/AttributedTypeIdentifier/bundleIdentifier)

The bundle identifier that contains this entity type.

[`let persistentIdentifier: String`](/documentation/AppIntents/AttributedTypeIdentifier/persistentIdentifier)

The persistent identifier for this entity type.

## Relationships

### Conforms To

[`Sendable`](/documentation/Swift/Sendable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Equatable`](/documentation/Swift/Equatable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)