Class

NSTableHeaderCell

The NSTableHeaderCell class is used by an NSTableHeaderView instance to draw the content of the column headers. This specific subclass is responsible for drawing the sort indicators.

Overview

Subclasses of the NSTableHeaderCell class can override the drawInterior(withFrame:in:), edit(withFrame:in:editor:delegate:event:), and highlight(_:withFrame:in:) methods to change the way headers appear. See the NSCell class specification for information on overriding these methods.

See the NSTableView and NSTableHeaderCell for more information.

Symbols

Drawing Sorting Indicators

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

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

func sortIndicatorRect(forBounds: NSRect)

Returns the location to display the sorting indicator given theRect.

Relationships

Inherits From