Global Variable

NSOutlineViewItemWillCollapseNotification

Posted before an item is collapsed (after the user clicks the arrow but before the item is collapsed).

Declaration

NSNotificationName NSOutlineViewItemWillCollapseNotification;

Discussion

The notification object is the NSOutlineView object that contains the item about to be collapsed. A collapsed item’s children will lose their status as being selected. The userInfo dictionary contains the following information:

Key

Value

@"NSObject"

The item about to be collapsed (an id)

See Also

Notifications

NSOutlineViewColumnDidMoveNotification

Posted whenever a column is moved by user action in an NSOutlineView object.

NSOutlineViewColumnDidResizeNotification

Posted whenever a column is resized in an NSOutlineView object.

NSOutlineViewItemDidCollapseNotification

Posted whenever an item is collapsed in an NSOutlineView object.

NSOutlineViewItemDidExpandNotification

Posted whenever an item is expanded in an NSOutlineView object.

NSOutlineViewItemWillExpandNotification

Posted before an item is expanded (after the user clicks the arrow but before the item is collapsed).

NSOutlineViewSelectionDidChangeNotification

Posted after the outline view's selection changes.

NSOutlineViewSelectionIsChangingNotification

Posted as the outline view’s selection changes (while the mouse button is still down).