No overview available.


struct Identifier


Toolbar Items

static let customizeToolbar: NSToolbarItem.Identifier

The Customize item. Shows the customization palette.

static let print: NSToolbarItem.Identifier

The Print item. Sends printDocument: to firstResponder.

static let showColors: NSToolbarItem.Identifier

The Colors item. Shows the color panel.

static let showFonts: NSToolbarItem.Identifier

The Fonts item. Shows the font panel.

static let toggleSidebar: NSToolbarItem.Identifier

The standard toolbar item identifier for a sidebar. It sends toggleSidebar: to firstResponder.


See Also

Managing Attributes

var toolbar: NSToolbar?

The toolbar that is using the receiver.

var label: String

The receiver’s label.

var paletteLabel: String

The label that appears when the receiver is in the customization palette.

var toolTip: String?

The tooltip used when the receiver is displayed in the toolbar.

var title: String

The title of the toolbar item.

var menuFormRepresentation: NSMenuItem?

The receiver’s menu form representation.

var itemMenuFormRepresentation: UIMenuElement?

The receiver’s menu form representation in Mac apps built with Mac Catalyst.

var tag: Int

The receiver’s tag.

var target: AnyObject?

The receiver’s target.

var action: Selector?

The receiver’s action.

var isBordered: Bool

A Boolean value that determines whether the toolbar item has a bordered style.

var isEnabled: Bool

A Boolean value that indicates whether the receiver is enabled.

var image: NSImage?

The image of the receiver.

var view: NSView?

The receiver’s view.

var minSize: NSSize

The receiver’s minimum size.

var maxSize: NSSize

The receiver’s maximum size.