drawStatusBarBackground(in:withHighlight:)
Draws the menu background pattern for a custom status-bar item in regular or highlight pattern.
Declaration
func drawStatusBarBackground(in rect: NSRect, withHighlight highlight: Bool)Parameters
Discussion
You can use this method to help a custom status-bar item emulate the behavior of a standard item.