Contents

setIndicatorImage(_:in:)

Sets the indicator image of the specified column.

Declaration

func setIndicatorImage(_ image: NSImage?, in tableColumn: NSTableColumn)

Parameters

  • image:

    The indicator image for the column.

  • tableColumn:

    The table column.

Discussion

The default sorting order indicators are available as named NSImage objects. These images are accessed using [NSImage imageNamed:] passing either @"NSAscendingSortIndicator" (the “^” icon), and @"NSDescendingSortIndicator" (the “v” icon).

See Also

Setting Display Attributes