<!--
{
  "availability" : [
    "macOS: 10.11.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSSplitViewItem/Behavior-swift.enum/sidebar",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:@E@NSSplitViewItemBehavior@NSSplitViewItemBehaviorSidebar"
  },
  "title" : "NSSplitViewItem.Behavior.sidebar"
}
-->

# NSSplitViewItem.Behavior.sidebar

The sidebar behavior.

```
case sidebar
```

## Discussion

This behavior corresponds to split view items that you create using [`init(sidebarWithViewController:)`](/documentation/AppKit/NSSplitViewItem/init(sidebarWithViewController:)).

---

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)