isHighlighted
A Boolean value indicating whether the cell has a highlighted appearance.
Declaration
var isHighlighted: Bool { get set }Discussion
When the value of this property is true, the cell draws itself with a highlighted appearance. The default value of this property is false.
Assigning a new value to this property has no effect by default. Subclasses can override the property to provide a highlighting behavior. For example, the NSButtonCell class overrides this property, so that when the value is true the button draws the button with a highlight appearance specified by NSCell.Attribute.cellLightsByBackground, NSCell.Attribute.cellLightsByContents, or NSCell.Attribute.cellLightsByGray.