Instance Method

initWithIdentifier:

Initializes a newly allocated toolbar with the specified identifier.

Declaration

- (instancetype)initWithIdentifier:(NSToolbarIdentifier)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