---
title: splitViewItems
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nssplitviewcontroller/splitviewitems
---

# splitViewItems

The array of split view items that correspond to the split view controller’s child view controllers.

## Declaration

```swift
var splitViewItems: [NSSplitViewItem] { get set }
```

## Discussion

Discussion Setting this property implicitly calls the insertSplitViewItem(_:at:) or removeSplitViewItem(_:) method, as appropriate, to add or remove split view items from this array. If you add a child view controller to the split view controller, the system automatically creates a default split view item for the child view controller and adds it to the splitViewItems array. If you remove a child view controller, the split view controller removes its corresponding split view item from the splitViewItems array.

## See Also

### Configuring and Managing a Split View Controller

- [splitView](appkit/nssplitviewcontroller/splitview.md)
- [splitViewItem(for:)](appkit/nssplitviewcontroller/splitviewitem(for:).md)
- [NSSplitViewItem](appkit/nssplitviewitem.md)
