<!--
{
  "availability" : [
    "iOS: 18.2.0 -",
    "iPadOS: 18.2.0 -",
    "macCatalyst: -",
    "macOS: 15.2.0 -",
    "tvOS: 18.2.0 -",
    "visionOS: 2.2.0 -",
    "watchOS: 11.2.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppIntents",
  "identifier" : "/documentation/AppIntents/AppEntityAnnotatable",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "App Intents"
    ],
    "preciseIdentifier" : "s:10AppIntents0A17EntityAnnotatableP"
  },
  "title" : "AppEntityAnnotatable"
}
-->

# AppEntityAnnotatable

An interface that system types adopt and use to manage their relationship to app entities.

```
protocol AppEntityAnnotatable
```

## Overview

System types adopt the `AppEntityAnnotatable` protocol and use it to store a reference to
an app entity. Don’t add support for this protocol to your own custom types. Instead, the
system incorporates it into types like <doc://com.apple.documentation/documentation/Foundation/NSUserActivity>
to support your custom entities. The system types use the presence of an entity to
improve system experiences like Apple Intelligence, Siri, and Shortcuts.

## Topics

### Instance Properties

[`var appEntityIdentifier: EntityIdentifier?`](/documentation/AppIntents/AppEntityAnnotatable/appEntityIdentifier)

The identifier of an app entity you want to associate with a system type.

## Relationships

### Conforming Types

[`SiriTipUIView`](/documentation/AppIntents/SiriTipUIView)

[`ShortcutsUIButton`](/documentation/AppIntents/ShortcutsUIButton)

---

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)