FUIObjectCardContentView

open class FUIObjectCardContentView : FUIObjectViewBase, FUIObjectCardComponent

Base inner view showing business object information for FUIObjectCard.

Example Initialization and Configuration:

let view = FUIObjectCardContentView()
view.title.text = "Business Object Title"
view.subtitle.text = "Business Object Subtitle"
view.footnote.text = "Business Object Footnote"
view.status.text = "Business Object Status"
view.statusImageView.image = UIImage(named: <#image#>)
view.tags = [FUITag(title: "Tag - 1"), FUITag(title: "Tag - 2"), FUITag(title: "Tag - 3")]
view.rating = 5
view.trailingProperties = [.rating, .tags, .footnote]
view.iconImages = ["1", FUIIconLibrary.indicator.veryHighPriority.withRenderingMode(.alwaysTemplate)]

Theming

Supported TEXT class paths:

fdlFUIObjectCardContentView_title {} fdlFUIObjectCardContentView_subtitle {} fdlFUIObjectCardContentView_footnote {} fdlFUIObjectCardContentView_status {} fdlFUIObjectCardContentView_body {} fdlFUIObjectCardContentView_overflowAction {}

Supported TEXT properties:

font-color: Color; font-style: UIFontTextStyle; text-align: NSTextAlignment;

Supported IMAGE class paths:

fdlFUIObjectCardContentView_detailImageView {}

Supported IMAGE properties:

tint-color: Color;

  • Display order for trailing attributed text components

    Declaration

    Swift

    open var trailingProperties: [OrderedPropertyRef] { get set }
  • Multiline text property configuration for title content.

    Declaration

    Swift

    public let title: FUIMultiLineText
  • Multiline text property configuration for subtitle content.

    Declaration

    Swift

    public let subtitle: FUIMultiLineText
  • Multiline text property configuration for footnote content.

    Declaration

    Swift

    public let footnote: FUIMultiLineText
  • Multiline text property configuration for status content.

    Declaration

    Swift

    public let status: FUIMultiLineText
  • Multiline text property configuration for body content.

    Declaration

    Swift

    public let body: FUIMultiLineText
  • UIImage property configuration for statusImage content.

    Declaration

    Swift

    public var statusImage: UIImage? { get set }
  • FUIGlyphImage property configuration for iconImages content.

    Declaration

    Swift

    open var iconImages: [FUIGlyphImage] { get set }
  • The rating for FUIRatingControl content.

    Declaration

    Swift

    public var rating: Int? { get set }
  • List of tag instances.

    Declaration

    Swift

    public var tags: [FUITag] { get set }
  • Declaration

    Swift

    public var numberOfTagLines: Int { get set }
  • Undocumented

    Declaration

    Swift

    public var hiddenTagsIndicatorAttrText: NSAttributedString { get set }
  • Dimensions of overflowAction. Should be 30x30 as default.

    Declaration

    Swift

    public var overflowActionSize: CGSize { get set }
  • Distribution proportion of body and title part, when in .regular horizontal content mode. Defaults to 0.5.

    Declaration

    Swift

    public override var splitPercent: CGFloat { get set }
  • A FUIButton for overflowAction.

    Declaration

    Swift

    public private(set) lazy var overflowAction: FUIButton { get set }
  • Defines supported orderd attribute property reference types: footnote, rating and tags

    See more

    Declaration

    Swift

    public enum OrderedPropertyRef