---
title: tableView
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nstableheaderview/tableview
---

# tableView

The NSTableView instance that this table header view belongs to.

## Declaration

```swift
weak var tableView: NSTableView? { get set }
```

## Discussion

Discussion You should never need to set this property; it’s assigned automatically when you set the header view for an NSTableView.

## See Also

### Related Documentation

- [NSTableView](appkit/nstableview.md)
- [headerView](appkit/nstableview/headerview.md)
