Initializer

init(identifier:)

Initializes a newly allocated toolbar with the specified identifier.

Declaration

init(identifier: NSToolbar.Identifier)

Parameters

identifier

A string used by the class to identify the kind of the toolbar.

Return Value

The initialized toolbar object.

Discussion

identifier is never seen by users and should not be localized. See the identifier property for important information.

See Also

Creating an NSToolbar Object