splitView
The split view that the split view controller manages.
Declaration
var splitView: NSSplitView { get set }Discussion
This property gives you access to the split view controller’s split view for querying its attributes or customizing it.
By default, a split view arranges its child views vertically from top to bottom. To specify a horizontal (side-by-side) arrangement, implement the isVertical property of the split view object to return true.
Also by default, a split view has a divider style of NSSplitView.DividerStyle.thin, and doesn’t have an autosave name.
To provide a custom split view, set this property at any time before you call super in the inherited viewDidLoad() method; that is, before the split view controller’s isViewLoaded property is true.
The split view isn’t always the same object as that in the split view controller’s inherited view property. To access the split view, always use the splitView property.