removeSplitViewItem(_:)
Removes a specified split view item from the split view controller.
Declaration
func removeSplitViewItem(_ splitViewItem: NSSplitViewItem)Parameters
- splitViewItem:
The split view item to remove.
Discussion
After you remove a split view item, the system adjusts the layout of the split view accordingly.