---
title: "drawCellInside(_:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nscontrol/drawcellinside(_:)"
---

# drawCellInside(_:)

Draws the inside of the receiver’s cell (the area within the bezel or border)

## Declaration

```swift
func drawCellInside(_ cell: NSCell)
```

## Parameters

- `cell`: The cell to draw. If the cell does not belong to the receiver, this method does nothing.

## Discussion

Discussion If the receiver is transparent, the method causes the superview to draw itself. This method invokes the  drawInterior(withFrame:in:) method of NSCell. This method has no effect on controls (such as NSMatrix and NSForm) that have multiple cells.

## See Also

### Deprecated Methods

- [selectedCell()](appkit/nscontrol/selectedcell().md)
- [selectedTag()](appkit/nscontrol/selectedtag().md)
- [setNeedsDisplay()](appkit/nscontrol/setneedsdisplay().md)
- [calcSize()](appkit/nscontrol/calcsize().md)
- [selectCell(_:)](appkit/nscontrol/selectcell(_:).md)
- [drawCell(_:)](appkit/nscontrol/drawcell(_:).md)
- [updateCell(_:)](appkit/nscontrol/updatecell(_:).md)
- [updateCellInside(_:)](appkit/nscontrol/updatecellinside(_:).md)
