FUITableImageItem
public struct FUITableImageItem : FUITableItem, FUIDataTableImageTheme, FUIDataTableItemConvertion, Equatable
An image item for FUIDataTable
-
Type.
Declaration
Swift
public let type: FUIDataItemType
-
Binding rule.
Declaration
Swift
public let binding: ObjectViewProperty.Image?
-
Image for Item.
Declaration
Swift
public let image: UIImage
-
Tint color for image.
Declaration
Swift
public var tintColor: UIColor?
-
Determines whether the cell is read-only or not for inline editing mode.
nil
means it isfalse
.FUITableImageItem
ignores this property since it doesn’t support inline editing yet.Declaration
Swift
public var isReadonly: Bool?
-
Public initializer for
FUITableImageItem
Declaration
Swift
public init(_ image: UIImage, _ tintColor: UIColor? = nil, _ binding: ObjectViewProperty.Image? = nil, isReadonly: Bool? = nil)
Parameters
image
Image for item.
tintColor
tint color
binding
Mapping rule.
isReadonly
Whether the cell is read-only or not in inline editing mode.
-
check equality
Declaration
Swift
public static func == (lhs: FUITableImageItem, rhs: FUITableImageItem) -> Bool