Contents

separatorInset

The inset values for the separator line drawn beneath the cell.

Declaration

var separatorInset: UIEdgeInsets { get set }

Discussion

Use this property to indent the left and right edges of the separator line drawn beneath the cell. Positive inset values move the separator inward and away from edges of the cell. Negative values are treated as if the inset is set to 0.

The table view uses only the left and right inset values; it ignores the top and bottom inset values. The value assigned to this property takes precedence over any default separator insets set on the table view.

See Also

Managing content indentation