A view that arranges two or more views in a linear stack running horizontally or vertically.
SDK
- macOS 10.0+
Framework
- App
Kit
Declaration
class NSSplitView : NSView
Overview
A split view manages the dividers and orientation for a split view controller (an instance of the NSSplit
class.) By default, dividers are oriented horizontally so that sibling views are arranged vertically, from top to bottom, in the containing split view controller.
Divider indices are zero-based, with the leftmost or topmost divider (depending on the value of the is
property) having an index of 0
.