Type Property

itemDidCollapseNotification

Posted whenever an item is collapsed in an NSOutlineView object.

Declaration

class let itemDidCollapseNotification: NSNotification.Name

Discussion

The notification object is the NSOutlineView object in which an item was collapsed. A collapsed item’s children lose their status as being selected. The userInfo dictionary contains the following information:

Key

Value

@"NSObject"

The item that was collapsed (an id)

See Also

Notifications

class let columnDidMoveNotification: NSNotification.Name

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

class let columnDidResizeNotification: NSNotification.Name

Posted whenever a column is resized in an NSOutlineView object.

class let itemDidExpandNotification: NSNotification.Name

Posted whenever an item is expanded in an NSOutlineView object.

class let itemWillCollapseNotification: NSNotification.Name

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

class let itemWillExpandNotification: NSNotification.Name

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

class let selectionDidChangeNotification: NSNotification.Name

Posted after the outline view's selection changes.

class let selectionIsChangingNotification: NSNotification.Name

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