drawCell(_:)
Draws the specified cell, as long as it belongs to the receiver.
Declaration
func drawCell(_ cell: NSCell)Parameters
- cell:
The cell to draw. If the cell does not belong to the receiver, this method does nothing.
Discussion
This method is provided primarily to support a consistent set of methods between NSControl objects with single and multiple cells, because a control with multiple cells needs to be able to draw individual cells.