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

# rearrangeObjects()

Triggers filtering of the receiver’s content.

```
func rearrangeObjects()
```

## Discussion

This method invokes [`arrange(_:)`](/documentation/AppKit/NSArrayController/arrange(_:)).

When you detect that filtering criteria change (such as when listening to the text sent by an `NSSearchField` instance), invoke this method on `self`.

## See Also

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

Invoked when any criteria for arranging objects change.



---

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)