---
title: rearrangeObjects()
framework: appkit
role: symbol
role_heading: Instance Method
path: appkit/nstreecontroller/rearrangeobjects()
---

# rearrangeObjects()

Use this method to trigger reordering of the tree controller’s content.

## Declaration

```swift
func rearrangeObjects()
```

## Discussion

Discussion Subclasses should invoke this method if any parameter that affects the arranged objects changes.

## See Also

### Arranging Objects

- [arrangedObjects](appkit/nstreecontroller/arrangedobjects.md)
