FUIContactComponent

public protocol FUIContactComponent : AnyObject

Base component protocol for FUIContactView 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 an 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 an NSAttributedString.

    Declaration

    Swift

    var subheadlineLabel: 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 an NSAttributedString.

    Declaration

    Swift

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

    Declaration

    Swift

    var splitPercent: CGFloat { get set }
  • Activity selection handler for FUIContactView.

    Declaration

    Swift

    var onActivitySelectedHandler: ((FUIActivityItem) -> Void)? { get set }
  • Activity control in FUIContactView.

    Declaration

    Swift

    var activityControl: FUIActivityControl { get }
  • UIImage to display as the detailImageView.

    Declaration

    Swift

    var detailImage: UIImage? { get set }
  • String text to display as the headline.

    Declaration

    Swift

    var headlineText: String? { get set }
  • String text to display as the subheadline.

    Declaration

    Swift

    var subheadlineText: String? { get set }
  • String text to display as the description. When the view is in .compact horizontal content mode, this will be hidden.

    Declaration

    Swift

    var descriptionText: String? { get set }
  • Specifies whether the dimensions of the detailImageView should be preserved, even if the image property is empty. The default is false.

    Declaration

    Swift

    var preserveDetailImageSpacing: Bool { get set }