---
title: rowSizeStyle
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nstableview/rowsizestyle-swift.property
---

# rowSizeStyle

The row size style (small, medium, large, or custom) used by the table view.

## Declaration

```swift
var rowSizeStyle: NSTableView.RowSizeStyle { get set }
```

## Discussion

Discussion To set the row size style on a row by row basis, set the value of this property to NSTableView.RowSizeStyle.custom and implement the tableView(_:heightOfRow:) method in your table view delegate object. The default value of this property is NSTableView.RowSizeStyle.custom, which tells the table to use the rowHeight of the table instead of any pre-determined system values. Generally, rowSizeStyle should always be NSTableView.RowSizeStyle.custom except for “source lists”.

## See Also

### Getting and Setting Row Size Styles

- [effectiveRowSizeStyle](appkit/nstableview/effectiverowsizestyle.md)
