Instance Method

drawSortIndicator(withFrame:in:ascending:priority:)

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

Declaration

func drawSortIndicator(withFrame cellFrame: NSRect, in controlView: NSView, ascending: Bool, priority: Int)

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

func sortIndicatorRect(forBounds: NSRect) -> NSRect

Returns the location to display the sorting indicator given theRect.