Type Property

willResizeSubviewsNotification

A notification posted before a change to the size of some or all subviews of a split view.

Declaration

class let willResizeSubviewsNotification: NSNotification.Name

Discussion

The notification object consists of the NSSplitView object about to resize its subviews.

The userInfo dictionary includes the NSSplitViewDividerIndex key containing the index of the divider moved by the split view or the user. If the system sent the notification because the user dragged a divider, the dictionary also includes the NSSplitViewUserResizeKey key with a value of 1.

See Also

Notifications

class let didResizeSubviewsNotification: NSNotification.Name

A notification posted after a change to the size of some or all subviews of a split view.