draw(withFrame:in:)
Draws the cell’s image in the specified rectangle of the currently focused view.
Declaration
@MainActor func draw(withFrame cellFrame: NSRect, in controlView: NSView?)Parameters
- cellFrame:
The frame rectangle in which to draw.
- controlView:
The view in which to draw.