setCellAttribute(_:to:)
Sets the value for the specified cell attribute.
Declaration
func setCellAttribute(_ parameter: NSCell.Attribute, to value: Int)Parameters
- parameter:
The cell attribute whose value you want to set. Attributes include the receiver’s current state and whether it is disabled, editable, or highlighted.
- value:
The new value for the attribute.