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

# reloadItem(_:reloadChildren:)

Reloads a given item and, optionally, its children.

```
func reloadItem(_ item: Any?, reloadChildren: Bool)
```

## Parameters

`item`

An item in the receiver.

    Starting in OS X version 10.5,  passing     `'nil'`     will reload everything under the root in the outline view.

`reloadChildren`

If <doc://com.apple.documentation/documentation/Swift/true>, recursively reloads `item` and its children. If <doc://com.apple.documentation/documentation/Swift/false>, reloads `item` only (identical to [`reloadItem(_:)`](/documentation/AppKit/NSOutlineView/reloadItem(_:))).

    It is not necessary, or efficient, to reload children if the item is not expanded.

---

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)