Contents

drawSelection(in:)

Draws the selected row.

Declaration

func drawSelection(in dirtyRect: NSRect)

Parameters

  • dirtyRect:

    The rectangle that requires drawing.

Discussion

This method is only called if the selection should be drawn.

The selection will automatically be alpha-blended if the selection is animating in or out.

The default selection drawn is dependent on the selectionHighlightStyle.

See Also

Overriding Row View Display Characteristics