The receiver’s tag.
SDKs
- macOS 10.0+
- Mac Catalyst 13.0+
Framework
- App
Kit
Declaration
var tag: Int { get set }
Discussion
You can use the tag for your own custom purpose.
The receiver’s tag.
SDKs
Framework
var tag: Int { get set }
You can use the tag for your own custom purpose.
var item Identifier: NSToolbar Item .Identifier
The receiver’s identifier.
var toolbar: NSToolbar?
The toolbar that is using the receiver.
var label: String
The receiver’s label.
var palette Label: String
The label that appears when the receiver is in the customization palette.
var tool Tip: String?
The tooltip used when the receiver is displayed in the toolbar.
var menu Form Representation: NSMenu Item?
The receiver’s menu form representation.
var target: Any Object?
The receiver’s target.
var action: Selector?
The receiver’s action.
var is Enabled: 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 min Size: NSSize
The receiver’s minimum size.
var max Size: NSSize
The receiver’s maximum size.