Contents

init(itemIdentifier:)

Creates a toolbar item with the specified identifier.

Declaration

init(itemIdentifier: NSToolbarItem.Identifier)

Parameters

  • itemIdentifier:

    The identifier for the toolbar item. You use this value to identify the item within your app, so you don’t need to localize it. For example, your toolbar delegate uses this value to identify the specific toolbar item.

Return Value

A new toolbar item.

See Also

Related Documentation

  • Toolbar Programming Topics for Cocoa

Creating a toolbar item