<!--
{
  "availability" : [
    "macOS: 11.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSTableViewDiffableDataSourceReference/rowViewProvider",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSTableViewDiffableDataSource(py)rowViewProvider"
  },
  "title" : "rowViewProvider"
}
-->

# rowViewProvider

The closure that configures and returns the table view’s row views from the diffable data source.

```
var rowViewProvider: NSTableViewDiffableDataSourceReferenceRowProvider? { get set }
```

## Discussion

This property replaces the [`tableView(_:rowViewForRow:)`](/documentation/AppKit/NSTableViewDelegate/tableView(_:rowViewForRow:)) delegate method.

---

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)