<!--
{
  "availability" : [
    "macOS: 10.10.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSSplitViewController/splitViewItems",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSSplitViewController(py)splitViewItems"
  },
  "title" : "splitViewItems"
}
-->

# splitViewItems

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

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

## Discussion

Setting this property implicitly calls the [`insertSplitViewItem(_:at:)`](/documentation/AppKit/NSSplitViewController/insertSplitViewItem(_:at:)) or [`removeSplitViewItem(_:)`](/documentation/AppKit/NSSplitViewController/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`](/documentation/AppKit/NSSplitViewController/splitViewItems) array.

If you remove a child view controller, the split view controller removes its corresponding split view item from the [`splitViewItems`](/documentation/AppKit/NSSplitViewController/splitViewItems) array.

---

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)