highlight(_:withFrame:in:)
Redraws the receiver with the specified highlight setting.
Declaration
func highlight(_ flag: Bool, withFrame cellFrame: NSRect, in controlView: NSView)Parameters
Discussion
Note that the NSCell highlighting does not appear when highlighted cells are printed (although instances of NSTextFieldCell, NSButtonCell, and others can print themselves highlighted). Generally, you cannot depend on highlighting being printed because implementations of this method may choose (or not choose) to use transparency.