FUITableListItem

public struct FUITableListItem : FUITableItem, FUIDataTableTextTheme, FUIDataTableItemConvertion, Equatable

List item for FUIDataTable

  • Type.

    Declaration

    Swift

    public let type: FUIDataItemType
  • Binding rule.

    Declaration

    Swift

    public let binding: ObjectViewProperty.Text?
  • String for item.

    Declaration

    Swift

    public let text: String
  • Font for item.

    Declaration

    Swift

    public let font: UIFont?
  • Foreground color for text item.

    Declaration

    Swift

    public let textColor: UIColor?
  • Line limit for item.

    Declaration

    Swift

    public let lineLimit: Int?
  • Determines whether the cell is read-only or not for he inline editing mode. nil means it is false. A cell’s isReadonly is determined by the value of itself, the row, and the column. If only one of these three values is set, then that value is used. If two or three values are set, then the higher priority of value is used. The order of priority from high to low is: cell, row, and column.

    Declaration

    Swift

    public var isReadonly: Bool?
  • Public initializer for FUITableListItem

    Declaration

    Swift

    public init(_ text: String, _ font: UIFont? = nil, _ textColor: UIColor? = nil, _ binding: ObjectViewProperty.Text? = nil, lineLimit: Int? = nil, isReadonly: Bool? = nil)

    Parameters

    text

    String for text item.

    font

    Font for item

    textColor

    Text color

    binding

    Mapping rule.

    lineLimit

    Line limit for item.

    isReadonly

    Whether the cell is read-only or not in inline editing mode.

  • check equality

    Declaration

    Swift

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