---
title: separatorStyle
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uitableview/separatorstyle
---

# separatorStyle

The style for table cells to use as separators.

## Declaration

```swift
var separatorStyle: UITableViewCell.SeparatorStyle { get set }
```

## Discussion

Discussion The value of this property is one of the separator-style constants described in UITableViewCell. UITableView uses this property to set the separator style on the cell returned from the delegate in tableView(_:cellForRowAt:).

## See Also

### Customizing the separator appearance

- [UITableViewCell.SeparatorStyle](uikit/uitableviewcell/separatorstyle.md)
- [separatorColor](uikit/uitableview/separatorcolor.md)
- [separatorEffect](uikit/uitableview/separatoreffect.md)
- [separatorInset](uikit/uitableview/separatorinset.md)
- [separatorInsetReference](uikit/uitableview/separatorinsetreference-swift.property.md)
- [UITableView.SeparatorInsetReference](uikit/uitableview/separatorinsetreference-swift.enum.md)
