---
title: numberOfRows
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsruleeditor/numberofrows
---

# numberOfRows

The number of rows in the rule editor.

## Declaration

```swift
var numberOfRows: Int { get }
```

## See Also

### Obtaining Row Information

- [parentRow(forRow:)](appkit/nsruleeditor/parentrow(forrow:).md)
- [row(forDisplayValue:)](appkit/nsruleeditor/row(fordisplayvalue:).md)
- [rowType(forRow:)](appkit/nsruleeditor/rowtype(forrow:).md)
- [NSRuleEditor.RowType](appkit/nsruleeditor/rowtype.md)
- [subrowIndexes(forRow:)](appkit/nsruleeditor/subrowindexes(forrow:).md)
