<!--
{
  "availability" : [
    "iOS: 18.4.0 -",
    "iPadOS: 18.4.0 -",
    "macCatalyst: -",
    "tvOS: 18.4.0 -",
    "visionOS: 2.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppIntents",
  "identifier" : "/documentation/AppIntents/UITableViewAppIntentsDataSource/tableView(_:appEntityIdentifierForRowAt:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "App Intents",
      "UIKit"
    ],
    "preciseIdentifier" : "s:17_AppIntents_UIKit011UITableViewaB10DataSourceP05tableE0_27appEntityIdentifierForRowAt0aB00jK0VSgSo0dE0C_10Foundation9IndexPathVtF"
  },
  "title" : "tableView(_:appEntityIdentifierForRowAt:)"
}
-->

# tableView(_:appEntityIdentifierForRowAt:)

Asks the data source to return an app entity identifier for a cell at a particular location in the table view.

```
@MainActor func tableView(_ tableView: UITableView, appEntityIdentifierForRowAt indexPath: IndexPath) -> EntityIdentifier?
```

## Parameters

`tableView`

The table-view object asking for the app entity identifier.

`indexPath`

An index path locating a row in the table view.

## Return Value

The app entity identifier for the item at the specified location in the table view.

## Discussion

For more information, refer to <doc:providing-contextual-cues-to-Apple-Intelligence-and-Siri> and
<doc://com.apple.documentation/documentation/AppIntents>.

---

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)