---
title: "addRow(_:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nsruleeditor/addrow(_:)"
---

# addRow(_:)

Adds a row to the receiver.

## Declaration

```swift
func addRow(_ sender: Any?)
```

## Parameters

- `sender`: Typically the object that sent the message.

## See Also

### Manipulating Rows

- [insertRow(at:with:asSubrowOfRow:animate:)](appkit/nsruleeditor/insertrow(at:with:assubrowofrow:animate:).md)
- [removeRow(at:)](appkit/nsruleeditor/removerow(at:).md)
- [removeRows(at:includeSubrows:)](appkit/nsruleeditor/removerows(at:includesubrows:).md)
