RowStyle

public protocol RowStyle

Any type that conforms to this protocol carries the info for the UI.

  • The type of the table view cell to display the row.

    Declaration

    Swift

    var cellType: UITableViewCell.Type { get }
  • The reuse identifier of the table view cell to display the row.

    Declaration

    Swift

    var cellReuseIdentifier: String { get }
  • The style of the table view cell to display the row.

    Declaration

    Swift

    var cellStyle: UITableViewCell.CellStyle { get }
  • The icon of the row.

    Declaration

    Swift

    var icon: Icon? { get }
  • The type of standard accessory view the cell should use.

    Declaration

    Swift

    var accessoryType: UITableViewCell.AccessoryType { get }
  • The flag that indicates whether the table view cell should trigger the action when selected.

    Declaration

    Swift

    var isSelectable: Bool { get }
  • The additional customization during cell configuration.

    Declaration

    Swift

    var customize: ((UITableViewCell, Row & RowStyle) -> Void)? { get }