FUICardBaseView

open class FUICardBaseView : FUIKPITitleBaseView, FUIStatusComponent

Base view for Chart Cards. Typically not used directly by developer.

Skeleton

let view = FUICardBaseView()
view.showSkeleton()
view.hideSkeleton()

Theming

Supported TEXT class paths:

fdlFUICardBaseView_title {}
fdlFUICardBaseView_kpiUnitItem {}
fdlFUICardBaseView_kpiMetricItem {}
fdlFUICardBaseView_kpiFractionItem {}
fdlFUICardBaseView_status {}

Supported TEXT properties:

font-color: Color;
font-style: UIFontTextStyle;
text-line-clamp: Integer;
text-align: NSTextAlignment;

Supported IMAGE class paths:

fdlFUICardBaseView_kpiIconItem {}

Supported IMAGE properties:

tint-color: Color;
  • GestureRecognizer to be used on longPress of Card

    Declaration

    Swift

    public private(set) var longPressGestureRecognizer: UILongPressGestureRecognizer! { get }
  • String describing status of the Analytic Data

    Declaration

    Swift

    public private(set) var status: FUIText { get }
  • Declaration

    Swift

    override open func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?)