<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: -",
    "macOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppIntents",
  "identifier" : "/documentation/AppIntents/EntityProperty/init(identifier:title:customIndexingKey:asyncGetter:)-9f8kx",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "App Intents",
      "AppIntents"
    ],
    "preciseIdentifier" : "s:10AppIntents14EntityPropertyCA2A0aC09ValueTypeRpzrlE10identifier5title17customIndexingKey11asyncGetterACyxGSSYt_10Foundation23LocalizedStringResourceVSo017CSCustomAttributeK0Cxqd__YaYbKctcAaDRd__lufc"
  },
  "title" : "init(identifier:title:customIndexingKey:asyncGetter:)"
}
-->

# init(identifier:title:customIndexingKey:asyncGetter:)

Creates an app intent entity property.  Do not call this directly, use @Property

```
convenience init<Entity>(identifier: String, title: LocalizedStringResource, customIndexingKey: CSCustomAttributeKey, asyncGetter: @escaping @Sendable (Entity) async throws -> Value) where Entity : AppEntity
```

## Parameters

`identifier`

The identifier of the property

`title`

A word or short phrase summarizing this property.

`customIndexingKey`

A custom Spotlight attribute set key for this property.

`asyncGetter`

The getter reference for the property

---

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)