Contents

identifier

The value you use to identify the toolbar in your app.

Declaration

var identifier: NSToolbar.Identifier { get }

Discussion

Use this property to distinguish toolbars in your app. Multiple toolbars can share the same identifier, and you might do so for windows that display similar content. When two or more toolbars share an identifier, they synchronize their state and display the same set of items.

If the toolbar autosaves its contents, the system associates the configuration data with this identifier.

See Also

Related Documentation

Getting the toolbar’s identity