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

# tableView

The table view that contains the table column.

## Declaration

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

## Discussion

Discussion You should never need to set this property; it’s set automatically when you add a table column to a table view using the NSTableView class’s method addTableColumn(_:).

## See Also

### Related Documentation

- [addTableColumn(_:)](appkit/nstableview/addtablecolumn(_:).md)
