Contents

removalAllowed

A status item that allows interactive removal.

Declaration

static var removalAllowed: NSStatusItem.Behavior { get }

Discussion

Status items with this behavior allow interactive removal from the menu bar. Upon removal, the item’s isVisible property changes to false. This change is observable using key-value observation.

See Also

Behaviors