Instance Property


The style for table cells used as separators.


var separatorStyle: UITableViewCell.SeparatorStyle { get set }


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

enum UITableViewCell.SeparatorStyle

The style for cells used as separators.

var separatorColor: UIColor?

The color of separator rows in the table view.

var separatorEffect: UIVisualEffect?

The effect applied to table separators.

var separatorInset: UIEdgeInsets

The default inset of cell separators.

var separatorInsetReference: UITableView.SeparatorInsetReference

An indicator of how the separator inset value should be interpreted.

enum UITableView.SeparatorInsetReference

Constants indicating how to interpret the separator inset value of a table view.