<!--
{
  "availability" : [
    "macOS: 11.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSOutlineViewDelegate/outlineView(_:tintConfigurationForItem:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(pl)NSOutlineViewDelegate(im)outlineView:tintConfigurationForItem:"
  },
  "title" : "outlineView(_:tintConfigurationForItem:)"
}
-->

# outlineView(_:tintConfigurationForItem:)

Customizes an item’s tinting behavior.

```
@MainActor optional func outlineView(_ outlineView: NSOutlineView, tintConfigurationForItem item: Any) -> NSTintConfiguration?
```

## Parameters

`outlineView`

The outline view to which you apply the tinting behavior.

`item`

The item to which you apply the tinting behavior.

## Return Value

Returns a new [`NSTintConfiguration`](/documentation/AppKit/NSTintConfiguration) object to create a particular tinting behavior for the item’s row, or `nil` to inherit the tinting behavior from the item’s parent.

## Discussion

You typically use this method to customize the color for a sidebar.

---

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)