---
title: columnCount
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/nspresentationintent/columncount
---

# columnCount

The number of columns in a table.

## Declaration

```occ
@property (readonly) NSInteger columnCount;
```

## Discussion

Discussion If the intent is not a table, the value of this property is 0.

## See Also

### Getting table information

- [row](foundation/nspresentationintent/row.md)
- [column](foundation/nspresentationintent/column.md)
- [columnAlignments](foundation/nspresentationintent/columnalignments.md)
