---
title: "reloadItem(_:reloadChildren:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nsoutlineview/reloaditem(_:reloadchildren:)"
---

# reloadItem(_:reloadChildren:)

Reloads a given item and, optionally, its children.

## Declaration

```swift
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 doc://com.apple.appkit/documentation/AppKit/NSOutlineView/reloadItem(_:)). It is not necessary, or efficient, to reload children if the item is not expanded.

## See Also

### Redisplaying Information

- [reloadItem(_:)](appkit/nsoutlineview/reloaditem(_:).md)
