TapActionRow

open class TapActionRow<T> : TapActionRowCompatible, Equatable where T : TapActionCell

A class that represents a row that triggers certain action when selected.

Initializer

Row

RowStyle

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

    Declaration

    Swift

    public let cellType: UITableViewCell.Type
  • The reuse identifier of the table view cell to display the row. The default value is TapActionCell.

    Declaration

    Swift

    public let cellReuseIdentifier: String
  • The cell style is .default.

    Declaration

    Swift

    public let cellStyle: UITableViewCell.CellStyle
  • The default icon is nil.

    Declaration

    Swift

    public let icon: Icon?
  • The default accessory type is .none.

    Declaration

    Swift

    public let accessoryType: UITableViewCell.AccessoryType
  • The TapActionRow is selectable when action is not nil.

    Declaration

    Swift

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

    Declaration

    Swift

    public let customize: ((UITableViewCell, Row & RowStyle) -> Void)?

Equatable

  • Returns true iff lhs and rhs have equal titles and detail texts.

    Declaration

    Swift

    public static func == (lhs: TapActionRow, rhs: TapActionRow) -> Bool