---
title: numberOfColumns
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nstexttable/numberofcolumns
---

# numberOfColumns

The number of columns in the text table.

## Declaration

```swift
var numberOfColumns: Int { get set }
```

## See Also

### Related Documentation

- [NSTextTableBlock](appkit/nstexttableblock.md)
