NSStatusItem
An individual element displayed in the system menu bar.
Declaration
class NSStatusItemOverview
The NSStatusBar method statusItem(withLength:) creates instances of this class and automatically adds them to the menu bar. Use the button property to customize the appearance and behavior of the status item.
Topics
Getting the Item’s Status Bar
Managing the Status Item’s Behavior
Configuring the Status Item’s Appearance
Setting the Autosave Name
Deprecated
isEnabledtargetactiondoubleActionsendAction(on:)popUpMenu(_:)titleattributedTitleimagealternateImagehighlightModetoolTipviewdrawStatusBarBackground(in:withHighlight:)