NSSplitView
在一个水平或竖直的线性堆中排列两个或多个视图的视图。
概述
一个Split View
管理着一个Split View Controller
(一个NSSplitViewController
的实例)的分隔器和方向。默认情况下,分隔器是水平方向的,因此同级视图垂直分布,从上到下包含在Split View Controller
中。
Divider indices are zero-based, with the leftmost or topmost divider (depending on the value of the isVertical
property) having an index of 0
.