StatusTableViewCell
@IBDesignable
@MainActor
open class StatusTableViewCell : FUIBaseDrawingTableViewCell<FUIMapDetailStatusView>
UITableViewCell
subclass used for displaying business object status in Map Floorplan Detail Panel.
Supports optional image & text. Images are left aligned and placed to the left of the text. Images are expected to be 16px by 16px.
Usage
let cell = tableView.dequeueReusableCell(withIdentifier: FUIMapDetailPanel.StatusTableViewCell.reuseIdentifier, for: indexPath) as! FUIMapDetailPanel.StatusTableViewCell cell.statusImage = FUIIconLibrary.indicator.veryHighPriority cell.status.text = “High”
Theming
nuiClass
:
fdlFUIMapDetailPanel.StatusTableViewCell {}
fdlFUIMapDetailStatusTableViewCell {} // deprecated
Supported TEXT
class paths:
fdlFUIMapDetailPanel.StatusTableViewCell_status {}
fdlFUIMapDetailStatusTableViewCell_status {} // deprecated
Supported TEXT
properties:
font-color: Color;
font-style: UIFontTextStyle;
text-line-clamp: Integer;
text-align: NSTextAlignment;
Supported IMAGE
class paths:
fdlFUIMapDetailPanel.StatusTableViewCell_statusImage {}
fdlFUIMapDetailStatusTableViewCell_statusImage {} // deprecated
Supported IMAGE
properties:
tint-color: Color;
-
Declaration
Swift
@MainActor open override func prepareForReuse()