<!--
{
  "availability" : [
    "macOS: 10.5.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSArrayController/didChangeArrangementCriteria()",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSArrayController(im)didChangeArrangementCriteria"
  },
  "title" : "didChangeArrangementCriteria()"
}
-->

# didChangeArrangementCriteria()

Invoked when any criteria for arranging objects change.

```
func didChangeArrangementCriteria()
```

## Discussion

This method is invoked by the controller itself when any criteria for arranging objects change (sort descriptors or filter predicates) to reset the key paths for automatic rearranging.

### Special Considerations

If you implement a subclass of `NSArrayController` and override [`rearrangeObjects()`](/documentation/AppKit/NSArrayController/rearrangeObjects()) to use additional arrangement criteria, you should invoke this method if those criteria change.

## See Also

[`func rearrangeObjects()`](/documentation/AppKit/NSArrayController/rearrangeObjects())

Triggers filtering of the receiver’s content.



---

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)