---
title: "drawSeparator(in:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nstablerowview/drawseparator(in:)"
---

# drawSeparator(in:)

Draws the horizontal separator between table rows.

## Declaration

```swift
func drawSeparator(in dirtyRect: NSRect)
```

## Parameters

- `dirtyRect`: The rectangle that requires drawing.

## Discussion

Discussion By default, the separator is only drawn if the enclosing table’s gridStyleMask is set to include a horizontal separator. The separator should be drawn at the bottom of the row view, indicating a separation from this row and the next.

## See Also

### Overriding Row View Display Characteristics

- [backgroundColor](appkit/nstablerowview/backgroundcolor.md)
- [drawBackground(in:)](appkit/nstablerowview/drawbackground(in:).md)
- [drawDraggingDestinationFeedback(in:)](appkit/nstablerowview/drawdraggingdestinationfeedback(in:).md)
- [drawSelection(in:)](appkit/nstablerowview/drawselection(in:).md)
