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

# drawBackground(inClipRect:)

Draws the background of the table view in the clip rect specified by the rectangle.

```
func drawBackground(inClipRect clipRect: NSRect)
```

## Parameters

`clipRect`

The rectangle, in the table view’s coordinate system.

## Discussion

---

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)