Instance Method

drawSeparatorInRect:

Draws the horizontal separator between table rows.

Declaration

- (void)drawSeparatorInRect:(NSRect)dirtyRect;

Parameters

dirtyRect

The rectangle that requires drawing.

Discussion

By default, the separator is only drawn if the enclosing table's gridStyleMask is set to include a horizontal separator.

The separator should be drawn at the bottom of the row view, indicating a separation from this row and the next.

See Also

Overriding Row View Display Characteristics

backgroundColor

The background color of the row.

- drawBackgroundInRect:

Draws the background of the row in the rectangle.

- drawDraggingDestinationFeedbackInRect:

Draws the row’s dragging destination feedback when the entire row is a drop target.

- drawSelectionInRect:

Draws the selected row.