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

# removeArrangedSubview(_:)

Removes a view as an arranged split pane.

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

## Discussion

If the value of [`arrangesAllSubviews`](/documentation/AppKit/NSSplitView/arrangesAllSubviews) is <doc://com.apple.documentation/documentation/Swift/false>, calling this method doesn’t remove the view as a subview; it remains in the split view’s [`subviews`](/documentation/AppKit/NSView/subviews) array.

If you remove a view as a subview (either by calling [`removeFromSuperview()`](/documentation/AppKit/NSView/removeFromSuperview()) or removing it from the split view’s [`subviews`](/documentation/AppKit/NSView/subviews) array), the system automatically removes the view as an arranged subview.

---

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)