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

# drawCellInside(_:)

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

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

## Parameters

`cell`

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

## Discussion

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

---

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)