FUIMapDetailStatusView

open class FUIMapDetailStatusView : FUIDrawingView, FUIStatusImageComponent

Status view component of FUIMapDetailStatusTableViewCell

Typically not used directly by developer.

A view with left aligned text and an optional image. Images are left aligned and placed to the left of the text. Images are expected to be 16px by 16px.

Usage

let statusView = FUIMapDetailStatusView()
statusView.statusImage = FUIIconLibrary.indicator.veryHighPriority
statusView.status.text = "High"

Theming

nuiClass:

fdlFUIMapDetailStatusView {}

Supported TEXT class paths:

fdlFUIMapDetailStatusView_status {}

Supported TEXT properties:

font-color: Color;
font-style: UIFontTextStyle;

Supported IMAGE class paths:

fdlFUIMapDetailStatusView_statusImage {}

Supported IMAGE properties:

tint-color: Color;
  • Status of the view.

    Design Language specifications:

    • The status is single line and truncates

    Declaration

    Swift

    public let status: FUIMultiLineText
  • Status Image of the view.

    Design Language specifications:

    • Images are expected to be 16px by 16px

    Declaration

    Swift

    public var statusImage: UIImage?
  • Developer formatted NSAttributedString to display as the status.

    Declaration

    Swift

    public var statusAttributedText: NSAttributedString! { get set }