Contents

dividerColor

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

Declaration

@NSCopying var dividerColor: NSColor { get }

Discussion

The default implementation of this method returns clear when the split view’s dividerStyle is NSSplitView.DividerStyle.thick, or when dividerStyle is NSSplitView.DividerStyle.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 and override this method to change the color of dividers.

See Also

Configuring and Drawing Dividers