Contents

view

The custom view that is displayed at the status item’s position in the status bar.

Declaration

var view: NSView? { get set }

Discussion

Setting a custom view overrides all the other appearance and behavior settings defined by NSStatusItem. The custom view is responsible for drawing itself and providing its own behaviors, such as processing mouse clicks and sending action messages.

See Also

Deprecated