reloadItem(_:reloadChildren:)
Reloads a given item and, optionally, its children.
Declaration
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 True, recursively reloads
itemand its children. If False, reloadsitemonly (identical to Reloaditem(_:)).It is not necessary, or efficient, to reload children if the item is not expanded.