FUIObjectViewBaseComponent

public protocol FUIObjectViewBaseComponent : AnyObject

Base component protocol for ObjectViewBase properties

  • Label property configuration for headline content.

    Remark

    a UILabel will not be rendered in the view hierarchy at runtime; text and configurations will produce a NSAttributedString.

    Declaration

    Swift

    var headlineLabel: FUILabel { get }
  • Label property configuration for subheadline content.

    Remark

    a UILabel will not be rendered in the view hierarchy at runtime; text and configurations will produce a NSAttributedString.

    Declaration

    Swift

    var subheadlineLabel: FUILabel { get }
  • Label property configuration for footnote content.

    Remark

    a UILabel will not be rendered in the view hierarchy at runtime; text and configurations will produce a NSAttributedString.

    Declaration

    Swift

    var footnoteLabel: FUILabel { get }
  • Label property configuration for description content.

    Remark

    a UILabel will not be rendered in the view hierarchy at runtime; text and configurations will produce a NSAttributedString.

    Declaration

    Swift

    var descriptionLabel: FUILabel { get }
  • Label property configuration for status content.

    Remark

    a UILabel will not be rendered in the view hierarchy at runtime; text and configurations will produce a NSAttributedString.

    Declaration

    Swift

    var statusLabel: FUILabel { get }
  • Label property configuration for substatus content.

    Remark

    a UILabel will not be rendered in the view hierarchy at runtime; text and configurations will produce a NSAttributedString.

    Declaration

    Swift

    var substatusLabel: FUILabel { get }
  • ImageView property configuration for statusImage content.

    Remark

    a UIImageView will not be rendered in the view hierarchy at runtime; text and configurations will produce a NSTextAttachment, rendered in a NSAttributedString.

    Declaration

    Swift

    var statusImageView: FUIImageView { get }
  • ImageView property configuration for substatusImage content.

    Remark

    a UIImageView will not be rendered in the view hierarchy at runtime; text and configurations will produce a NSTextAttachment, rendered in a NSAttributedString.

    Declaration

    Swift

    var substatusImageView: FUIImageView { get }
  • UIImageView displaying detailImage content. Will be rendered in view hierarchy.

    Declaration

    Swift

    var detailImageView: FUIImageView { get }
  • FUIGlyphImages (UIImage or String) displayed in groupedAvatarsView. Setting avatars will cause detailImageView.image to be invalid. The maximum number of images in avatars is 2.

    Declaration

    Swift

    var avatars: [FUIGlyphImage] { get set }
  • Dimensions of grouped avatars container. Default is 45x45.

    Declaration

    Swift

    var avatarSize: CGSize { get set }
  • Specifies whether the avatars are drawn as circular. The default is true.

    Declaration

    Swift

    var isAvatarCircular: Bool { get set }
  • Dimensions of grouped avatars border width. Default is 0.33.

    Declaration

    Swift

    var avatarBorderWidth: CGFloat { get set }
  • UIColor for avatar border color. Default is separator.

    Declaration

    Swift

    var avatarBorderColor: UIColor { get set }
  • Array of FUIImageViews for avatars. These are rendered in FUIGroupAvatarsView.

    Declaration

    Swift

    var groupedAvatarsViews: [FUIImageView] { get }
  • Content mode for avatars. The default is up to avatars view.

    Declaration

    Swift

    var avatarsContentMode: UIView.ContentMode? { get set }
  • UIImageView displaying indicatorImageView content. These are rendered in the view hierarchy.

    Declaration

    Swift

    var indicatorImageView: FUIImageView { get }
  • Dimensions of indicatorImageViewSize. The default is 16x16.

    Declaration

    Swift

    var indicatorImageViewSize: CGSize { get set }
  • Distribution of left and right content columns in .regular horizontal content mode. The default is 0.5.

    Declaration

    Swift

    var splitPercent: CGFloat { get set }
  • Specifies whether the splitPercent is applied. If not, the .compact variant of the layout will be used, even when in .regular mode. Defaults to true.

    Declaration

    Swift

    var isApplyingSplitPercent: Bool { get set }
  • Status display mode as .text, .image or .both

    Declaration

    Swift

    var statusDisplayMode: FUIStatusDisplayMode { get set }
  • Subtatus display mode as .text, .image or .both

    Declaration

    Swift

    var substatusDisplayMode: FUISubstatusDisplayMode { get set }
  • Specifies whether the show description in compact mode. Default to false

    Declaration

    Swift

    var showDescriptionInCompact: Bool { get set }