view
The custom view the status item displays at its position in the status bar.
Declaration
var view: NSView? { get set }Discussion
Setting a custom view overrides the appearance and behavior settings that NSStatusItem defines. The custom view is responsible for drawing itself and providing its own behaviors, such as processing mouse clicks and sending action messages.