Type Property

willAddItemNotification

Posted before a new item is added to the toolbar.

Declaration

class let willAddItemNotification: NSNotification.Name

Discussion

The notification item is the NSToolbar object having an item added to it. The userInfo dictionary contains the following information:

Key

Value

@"item"

The NSToolbarItem object being added.

See Also

Notifications

class let didRemoveItemNotification: NSNotification.Name

Posted after an item is removed from a toolbar.