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

# dividerColor

The color of the dividers that the split view draws between subviews.

```
@NSCopying var dividerColor: NSColor { get }
```

## Discussion

The default implementation of this method returns [`clear`](/documentation/AppKit/NSColor/clear) when the split view’s [`dividerStyle`](/documentation/AppKit/NSSplitView/dividerStyle-swift.property) is [`NSSplitView.DividerStyle.thick`](/documentation/AppKit/NSSplitView/DividerStyle-swift.enum/thick), or when [`dividerStyle`](/documentation/AppKit/NSSplitView/dividerStyle-swift.property) is [`NSSplitView.DividerStyle.paneSplitter`](/documentation/AppKit/NSSplitView/DividerStyle-swift.enum/paneSplitter) and the split view is in a textured window. The system draws all other thin dividers with a color that provides appropriate contrast between two white panes.

You can subclass [`NSSplitView`](/documentation/AppKit/NSSplitView) and override this method to change the color of dividers.

---

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)