<!--
{
  "availability" : [
    "macOS: 10.10.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSRuleEditorDelegate/ruleEditorRowsDidChange(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(pl)NSRuleEditorDelegate(im)ruleEditorRowsDidChange:"
  },
  "title" : "ruleEditorRowsDidChange(_:)"
}
-->

# ruleEditorRowsDidChange(_:)

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

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

## Parameters

`notification`

A notification named[`rowsDidChangeNotification`](/documentation/AppKit/NSRuleEditor/rowsDidChangeNotification).

## Discussion

If the delegate implements this method, [`NSRuleEditor`](/documentation/AppKit/NSRuleEditor) automatically registers its delegate to receive [`rowsDidChangeNotification`](/documentation/AppKit/NSRuleEditor/rowsDidChangeNotification) notifications.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)