Instance Method

drawSortIndicatorWithFrame:inView:ascending:priority:

Draws a sorting indicator given a cell frame contained inside a view.

Declaration

- (void)drawSortIndicatorWithFrame:(NSRect)cellFrame inView:(NSView *)controlView ascending:(BOOL)ascending priority:(NSInteger)priority;

Parameters

cellFrame

The cell frame.

controlView

The control view.

ascending

If YES the sort indicator is drawn as ascending; otherwise it is drawn as descending.

priority

If priority is 0, this is the primary sort indicator.

Discussion

Override this method to customize the sorting user interface.

See Also

Drawing Sorting Indicators

- sortIndicatorRectForBounds:

Returns the location to display the sorting indicator given theRect.