---
title: "ruleEditorRowsDidChange(_:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nsruleeditordelegate/ruleeditorrowsdidchange(_:)"
---

# ruleEditorRowsDidChange(_:)

Notifies the receiver that a rule editor’s rows changed.

## Declaration

```swift
@MainActor optional func ruleEditorRowsDidChange(_ notification: Notification)
```

## Parameters

- `notification`: A notification nameddoc://com.apple.appkit/documentation/AppKit/NSRuleEditor/rowsDidChangeNotification.

## Discussion

Discussion If the delegate implements this method, NSRuleEditor automatically registers its delegate to receive rowsDidChangeNotification notifications.
