NavigationRow

open class NavigationRow<T> : NavigationRowCompatible, Equatable where T : UITableViewCell

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

Initializer

Row

RowStyle

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

    Declaration

    Swift

    public let cellType: UITableViewCell.Type
  • Returns the reuse identifier of the table view cell to display the row.

    Declaration

    Swift

    public var cellReuseIdentifier: String { get }
  • Returns the table view cell style for the specified detail text.

    Declaration

    Swift

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

    Declaration

    Swift

    public let icon: Icon?
  • Returns the accessory type with the disclosure indicator when action is not nil, and with the detail button when accessoryButtonAction is not nil.

    Declaration

    Swift

    public var accessoryType: UITableViewCell.AccessoryType { get }
  • The NavigationRow 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, detail texts and icons.

    Declaration

    Swift

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