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

# width

The table column’s width, in points.

## Declaration

```swift
var width: CGFloat { get set }
```

## Discussion

Discussion The default value of this property is 100.0. If the value of this property exceeds the minimum or maximum width, it’s adjusted to the appropriate limiting value. This property posts columnDidResizeNotification on behalf of the table column’s NSTableView and marks the table view as needing display.

## See Also

### Controlling Size

- [minWidth](appkit/nstablecolumn/minwidth.md)
- [maxWidth](appkit/nstablecolumn/maxwidth.md)
- [resizingMask](appkit/nstablecolumn/resizingmask.md)
- [sizeToFit()](appkit/nstablecolumn/sizetofit().md)
