Contents

NSToolbarItem.Identifier

Constants for the standard toolbar items that the system provides.

Declaration

struct Identifier

Overview

If you configure an NSToolbarItem in Interface Builder with one of the standard identifiers, AppKit configures the toolbar item for you automatically when you load your interface. Similarly, if your toolbar delegate returns them as part of the default or allowed set of items, AppKit handles their configuration. When your delegate provides standard identifiers, AppKit doesn’t call the toolbar(_:itemForItemIdentifier:willBeInsertedIntoToolbar:) method for them.

Topics

Getting the standard item identifiers

Creating an identifier

Deprecated

See Also

Getting the toolbar item’s identity