<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSTableView/setIndicatorImage(_:in:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSTableView(im)setIndicatorImage:inTableColumn:"
  },
  "title" : "setIndicatorImage(_:in:)"
}
-->

# setIndicatorImage(_:in:)

Sets the indicator image of the specified column.

```
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).

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)