---
title: "outlineView(_:tintConfigurationForItem:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nsoutlineviewdelegate/outlineview(_:tintconfigurationforitem:)"
---

# outlineView(_:tintConfigurationForItem:)

Customizes an item’s tinting behavior.

## Declaration

```swift
@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

Return Value Returns a new 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

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

## See Also

### Customizing Tint Color

- [NSTintConfiguration](appkit/nstintconfiguration.md)
