FUITableRowItem

public struct FUITableRowItem : Equatable

Data structure for each row in the FUIDataTable

  • Accessory item type.

    See more

    Declaration

    Swift

    public enum AccessoryItem : Equatable
  • Button for accessory item.

    See more

    Declaration

    Swift

    public struct AccessoryButton : Equatable
  • Leading accessory items.

    Declaration

    Swift

    public let leadingAccessories: [AccessoryItem]
  • Trailing accessory item.

    Declaration

    Swift

    public let trailingAccessory: AccessoryItem?
  • Row data.

    Declaration

    Swift

    public let data: [FUITableItem]
  • Selected image in editing mode.

    Declaration

    Swift

    public let selectedImage: UIImage?
  • Desekected image in edting mode.

    Declaration

    Swift

    public let deSelectedImage: UIImage?
  • Read-only property for all cells in this row. If a cell’s isReadonly of this row is set, then that value is used. nil means it is false.

    Declaration

    Swift

    public var isReadonly: Bool?
  • Public initializer for FUITableRowItem

    Declaration

    Swift

    public init(leadingAccessories: [AccessoryItem] = [], trailingAccessory: AccessoryItem? = nil, data: [FUITableItem], selectedImage: UIImage? = nil, deSelectedImage: UIImage? = nil, isReadonly: Bool? = nil)

    Parameters

    leadingAccessories

    Leading accessory items.

    trailingAccessory

    Trailing accessory item.

    data

    Row data.

    selectedImage

    Selected image in editing mode.

    deSelectedImage

    Desekected image in edting mode.

    isReadonly

    Whether the row is read-only or not for inline editing mode.

  • check equality

    Declaration

    Swift

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