<!--
{
  "availability" : [
    "macOS: 15.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppIntents",
  "identifier" : "/documentation/AppIntents/NSTableViewAppIntentsDataSource",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "App Intents",
      "AppKit"
    ],
    "preciseIdentifier" : "s:012_AppIntents_A3Kit011NSTableViewaB10DataSourceP"
  },
  "title" : "NSTableViewAppIntentsDataSource"
}
-->

# NSTableViewAppIntentsDataSource

The methods that an object adopts to make items in a table view or outline view discoverable by Apple Intelligence and Siri.

```
@MainActor protocol NSTableViewAppIntentsDataSource : AnyObject
```

## Topics

### Instance Methods

[`func outlineView(NSOutlineView, appEntityIdentifierFor: Any?) -> EntityIdentifier?`](/documentation/AppIntents/NSTableViewAppIntentsDataSource/outlineView(_:appEntityIdentifierFor:))

Asks the data source to return an app entity identifier for a particular item in the outline view.

[`func tableView(NSTableView, appEntityIdentifierFor: Int) -> EntityIdentifier?`](/documentation/AppIntents/NSTableViewAppIntentsDataSource/tableView(_:appEntityIdentifierFor:))

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

---

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)