FUIObjectHeaderView
@MainActor
open class FUIObjectHeaderView : FUIDrawingView, FUIObjectHeaderViewComponent, FUIObjectComponent, FUITagsComponent, FUIContentCopyable
Theming
Supported ObjectHeaderView class paths:
View {}
fdlFUIObjectHeaderView {}
Supported ObjectHeaderView attributes:
tint-color (Color)
background-color (Color)
Supported Text class paths:
fdlFUIObjectHeaderView_headlineLabel {}
fdlFUIObjectHeaderView_subheadlineLabel {}
fdlFUIObjectHeaderView_bodyLabel {}
fdlFUIObjectHeaderView_footnoteLabel {}
fdlFUIObjectHeaderView_descriptionLabel {}
fdlFUIObjectHeaderView_statusLabel {}
fdlFUIObjectHeaderView_substatusLabel {}
fdlFUIObjectHeaderView_labelItem_label {}
Supported Text attributes:
font-color (Color)
font-name (FontName)
font-style (UIFontTextStyle)
font-size (Number)
text-align (TextAlign)
text-line-clamp (Integer)
Supported ImageView class paths:
fdlFUIObjectHeaderView_detailImageView {}
fdlFUIObjectHeaderView_statusImageView {}
fdlFUIObjectHeaderView_substatusImageView {}
fdlFUIObjectHeaderView_labelItem_imageView {}
Supported ImageView attributes:
image-name (Image)
tint-color (Color)
-
ObjectHeader Layout version
See moreDeclaration
Swift
public enum Version : Int, CaseIterable -
current version of FUIObjectHeader; v2 only
Declaration
Swift
@MainActor public var version: Version { get set } -
three layout options for status and substatus
See moreDeclaration
Swift
public enum StatusLayout : Int, CaseIterable -
status layout; v2 only
Declaration
Swift
@MainActor public var statusLayout: StatusLayout { get set } -
Label property configuration for
headlinecontent.Remark
aUILabelwill not be rendered in the view hierarchy at runtime; text and configurations will produce aNSAttributedString.Declaration
Swift
@MainActor public private(set) var headlineLabel: FUILabelProxy { get } -
Label property configuration for
subheadlinecontent.Remark
aUILabelwill not be rendered in the view hierarchy at runtime; text and configurations will produce aNSAttributedString.Declaration
Swift
@MainActor lazy public private(set) var subheadlineLabel: FUILabelProxy { get set } -
Label property configuration for
bodycontent.Remark
aUILabelwill not be rendered in the view hierarchy at runtime; text and configurations will produce aNSAttributedString.Declaration
Swift
@MainActor lazy public private(set) var bodyLabel: FUILabelProxy { get set } -
Label property configuration for
footnotecontent.Remark
aUILabelwill not be rendered in the view hierarchy at runtime; text and configurations will produce aNSAttributedString.Declaration
Swift
@MainActor lazy public private(set) var footnoteLabel: FUILabelProxy { get set } -
Label property configuration for
descriptioncontent.Remark
aUILabelwill not be rendered in the view hierarchy at runtime; text and configurations will produce aNSAttributedString.Declaration
Swift
@MainActor lazy public private(set) var descriptionLabel: FUILabelProxy { get set } -
Label property configuration for
statuscontent.Remark
aUILabelwill not be rendered in the view hierarchy at runtime; text and configurations will produce aNSAttributedString.Declaration
Swift
@MainActor lazy public private(set) var statusLabel: FUILabelProxy { get set } -
Label property configuration for
substatuscontent.Remark
aUILabelwill not be rendered in the view hierarchy at runtime; text and configurations will produce aNSAttributedString.Declaration
Swift
@MainActor lazy public private(set) var substatusLabel: FUILabelProxy { get set } -
ImageView property configuration for
statusImagecontent.Remark
aUIImageViewwill not be rendered in the view hierarchy at runtime; text and configurations will produce aNSTextAttachment, rendered in aNSAttributedString.Declaration
Swift
@MainActor lazy public private(set) var statusImageView: FUIImageView { get set } -
ImageView property configuration for
substatusImagecontent.Remark
aUIImageViewwill not be rendered in the view hierarchy at runtime; text and configurations will produce aNSTextAttachment, rendered in aNSAttributedString.Declaration
Swift
@MainActor lazy public private(set) var substatusImageView: FUIImageView { get set } -
UIImageViewdisplayingdetailImagecontent. Will be rendered in view hierarchy.Declaration
Swift
@MainActor lazy public private(set) var detailImageView: FUIImageView { get set } -
The statusImageView alignment relative to statusLabel; v2 only
Declaration
Swift
@MainActor public var statusImageViewAlignment: FUILabelItem.Alignment { get set } -
The substatusImageView alignment relative to substatusLabel; v2 only
Declaration
Swift
@MainActor public var substatusImageViewAlignment: FUILabelItem.Alignment { get set } -
KPI displayed in the right accessory area. v2 only.
Declaration
Swift
@MainActor public var kpiView: FUIKPIView? { get set } -
An array of FUILabelItems; v2 only
Declaration
Swift
@MainActor public var labelItems: [FUILabelItem] { get set } -
The maximum number of label items; v2 only
Declaration
Swift
@MainActor public var numberOfLabelItems: Int { get set } -
The custom size for the detail image view.
The default is
nil, which means the default size 44px by 44px is used.Declaration
Swift
@MainActor public var detailImageSize: CGSize? { get set } -
Deprecated property
Declaration
Swift
@available(*, deprecated, message: "The component design has been updated, to allocate content frames based upon the content intrinsic sizes. The value `splitPercent` will be ignored at runtime.") @MainActor public var splitPercent: CGFloat -
Deprecated property
Declaration
Swift
@available(*, deprecated, message: "The component design has been updated, to allocate content frames based upon the content intrinsic sizes. The value `isApplyingSplitPercent` will be ignored at runtime.") @MainActor public var isApplyingSplitPercent: Bool { get set } -
Maintains empty space for expected detail image dimensions, even if no image is provided to the image view.
Declaration
Swift
@MainActor public var preserveDetailImageSpacing: Bool
-
List of tag instances
Declaration
Swift
@MainActor public var tags: [FUITag] { get set } -
Declaration
Swift
@MainActor public var numberOfTagLines: Int { get set } -
Optional subview of
FUIObjectHeaderView. Typically used to renderFUIKPIView, orFUIChartHeaderContentView.Remark
MUST implementintrinsicContentSizefor correct layout.Declaration
Swift
@MainActor public var detailContentView: UIView? { get set } -
Page control for object header.
Declaration
Swift
@MainActor public private(set) var pageControl: UIPageControl { get }
-
This property indicates if the content copyable is enabled or not.
The default is
true.Declaration
Swift
@MainActor open var isContentCopyable: Bool { get set }
-
Undocumented
Declaration
Swift
@MainActor open override var accessibilityElements: [Any]? { get set } -
:nodoc
Declaration
Swift
@MainActor open override func calculateSkeletonLayout(_ targetSize: CGSize)