Contents

willAddItemNotification

Posts before the toolbar adds a new item.

Declaration

class let willAddItemNotification: NSNotification.Name

Discussion

The notification item is the NSToolbar object that’s about to add the item. The userInfo dictionary contains the following information:

Key

Value

Itemkey

The NSToolbarItem object being added.

See Also

Related Documentation

Managing items on the toolbar