---
title: controlView
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nscell/controlview
---

# controlView

The view associated with the cell.

## Declaration

```swift
unowned(unsafe) var controlView: NSView? { get set }
```

## Discussion

Discussion This property contains the view associated with the cell. This view is normally an NSControl object. The default value of this property is nil.

## See Also

### Drawing and Highlighting

- [draw(withFrame:in:)](appkit/nscell/draw(withframe:in:).md)
- [highlightColor(withFrame:in:)](appkit/nscell/highlightcolor(withframe:in:).md)
- [drawInterior(withFrame:in:)](appkit/nscell/drawinterior(withframe:in:).md)
- [highlight(_:withFrame:in:)](appkit/nscell/highlight(_:withframe:in:).md)
- [isHighlighted](appkit/nscell/ishighlighted.md)
