FUIContactComponent
public protocol FUIContactComponent : AnyObject
Base component protocol for FUIContactView properties.
-
Label property configuration for
headline
content.Remark
aUILabel
will not be rendered in the view hierarchy at runtime; text and configurations will produce anNSAttributedString
.Declaration
Swift
var headlineLabel: FUILabel { get }
-
Label property configuration for
subheadline
content.Remark
aUILabel
will not be rendered in the view hierarchy at runtime; text and configurations will produce anNSAttributedString
.Declaration
Swift
var subheadlineLabel: FUILabel { get }
-
Label property configuration for
description
content.Remark
aUILabel
will not be rendered in the view hierarchy at runtime; text and configurations will produce anNSAttributedString
.Declaration
Swift
var descriptionLabel: FUILabel { get }
-
Distribution of left and right content columns in
.regular
horizontal content mode. The default is0.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 thedetailImageView
.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 theimage
property is empty. The default isfalse
.Declaration
Swift
var preserveDetailImageSpacing: Bool { get set }