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
priorityis 0, this is the primary sort indicator.
Discussion
Override this method to customize the sorting user interface.
See Also
Related Documentation
- Table View Programming Guide for Mac