Instance Method

drawDivider(in:)

Draws a divider between two of the receiver’s subviews.

Declaration

func drawDivider(in rect: NSRect)

Parameters

aRect

The entire divider rectangle in the split view’s coordinate system, which is flipped.

Discussion

If you override this method and use a custom icon to identify the divider, you may need to change the size of the divider.

See Also

Configuring and Drawing Dividers

var dividerStyle: NSSplitView.DividerStyle

The style of divider drawn between views.

var dividerColor: NSColor

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

var dividerThickness: CGFloat

The thickness of the dividers for the split view.