---
title: view
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nstoolbaritem/view
---

# view

The custom view you use to draw the toolbar item.

## Declaration

```swift
var view: NSView? { get set }
```

## Discussion

Discussion Many properties of NSToolbarItem automatically forward changes to the associated custom NSView object, if the view has a property or accessor method with a matching name.

## See Also

### Getting the item’s visual appearance

- [image](appkit/nstoolbaritem/image.md)
- [backgroundTintColor](appkit/nstoolbaritem/backgroundtintcolor.md)
