Contents

NSSplitViewItem

An item in a split view controller.

Declaration

class NSSplitViewItem

Overview

A split view item represents a single pane in a split view controller (NSSplitViewController). Each split view item contains information about a child view controller in the split view controller, like its preferred thickness, holding priority, and collapsed state.

To add one or more accessory views to the top or bottom of a split view item, such as a search field above a list, use the topAlignedAccessoryViewControllers and bottomAlignedAccessoryViewControllers properties to specify NSSplitViewItemAccessoryViewController types.

Topics

Creating a split view item

Managing the item thickness

Getting Auto Layout behaviors

Getting the item behavior

Collapsing and expanding the item

Customizing appearance

Configuring accessory views

Getting the View Controller

Initializers

See Also

Split View Interface