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

# addArrangedSubview(_:)

Adds a view as an arranged split pane.

```
func addArrangedSubview(_ view: NSView)
```

## Discussion

If the view isn’t a subview of the split view, calling this method adds it to the split view’s [`subviews`](/documentation/AppKit/NSView/subviews) 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)