Separator

public class Separator : UIView

A view used to include separator lines between table cells.

Use the static inset property to globably change the default inset for all table cells. The default background color of a separator is UIColor.clear, use UIAppearance to modify its value.

Supported by UITableView only.

  • Specifies the default inset of cell separators.

    Declaration

    Swift

    public static var inset: CGFloat
  • The style for table cells used as separators.

    The options are full, inset, and moreInset

    Declaration

    Swift

    public enum Style
  • Tag

    The identifier that can be used to locate a given separator view.

    Declaration

    Swift

    public enum Tag : Int