FUIObjectViewBase
@MainActor
open class FUIObjectViewBase : FUITintableDrawingView<FUIControlState>, FUIReactingToAccessory, FUIObjectBaseDrawing, FUIContentCopyable
Typically not used by developer
-
UIImageViewdisplayingdetailImagecontent. Will be rendered in view hierarchy.Declaration
Swift
@MainActor lazy public private(set) var detailImageView: FUIImageView { get set } -
UIImageViewdisplayingindicatorImageViewcontent. These are rendered in the view hierarchy.Declaration
Swift
@MainActor lazy public private(set) var indicatorImageView: FUIImageView { get set } -
Specifies whether the dimensions of the
iconImagesshould be preserved, even if the property is empty. Defaults tofalse.Declaration
Swift
@IBInspectable @MainActor public var preserveIconStackSpacing: Bool { get set } -
Specifies whether the dimensions of the
detailImageViewshould be preserved, even if theimageproperty is empty. Defaults tofalse.Declaration
Swift
@IBInspectable @MainActor public var preserveDetailImageSpacing: Bool { get set } -
Width of area for stacked icons. Should only be modified, if rendering multi-digit indicators in the
iconImagesproperty. Defaults to16.Declaration
Swift
@MainActor public var iconsColumnWidth: CGFloat { get set } -
Dimensions of
detailImageView. Should be within range32x32to60x60.Declaration
Swift
@MainActor public var detailImageViewSize: CGSize { get set } -
Dimensions of
indicatorImageViewSize. The default is16x16.Declaration
Swift
@MainActor public var indicatorImageViewSize: CGSize { get set } -
Distribution of left and right content columns in
.regularhorizontal content mode. The default is0.5.Declaration
Swift
@IBInspectable @MainActor public var splitPercent: CGFloat { get set } -
Specifies whether the description should displayed in compact view. Default to
falseDeclaration
Swift
@MainActor public var showDescriptionInCompact: Bool { get set } -
Specifies whether the height of the
descriptioncontent will be limited to match the height of content in theheadline,subheadline, andfootnotelabels for regular mode. In compact mode, this property will be ignored. Defaults totrue.Declaration
Swift
@MainActor public var isLimitingHeightToMainContent: Bool { get set } -
Specifies whether the
splitPercentis applied. If not, the.compactvariant of the layout will be used, even when in.regularmode. Defaults totrue.Declaration
Swift
@IBInspectable @MainActor public var isApplyingSplitPercent: Bool { get set }
-
Allows a containing view to manage the vertical alignment of the status views (i.e. if the containing view supports accessory views, some rules require the status views to be center-aligned when used in coordination with most accesssory views.) Should not be used directly by developer.
Declaration
Swift
@MainActor public var isStatusForcedToCenterYAlignment: Bool { get set } -
Instructs a containing view of the center.y (i.e. if the containing view supports accessory views, some rules require the status views to be center-aligned when used in coordination with most accesssory views.) Should not be used directly by developer.
Declaration
Swift
@MainActor public func centerYOffsetForAccessory() -> CGFloat -
Specifies whether subview colors should be configured for presentation against light or dark background
Declaration
Swift
@MainActor open override var backgroundColorScheme: FUIBackgroundColorScheme { get set } -
FUIGlyphImages(UIImageorString) displayed ingroupedAvatarsView. Settingavatarswill causedetailImageView.imageto be invalid. The maximum number of images inavatarsis 2.Declaration
Swift
@MainActor public var avatars: [FUIGlyphImage] { get set } -
Dimensions of grouped avatars container. Default is
44x44.Declaration
Swift
@MainActor public var avatarSize: CGSize { get set } -
Specifies whether the
avatarsare drawn as circular. The default istrue.Declaration
Swift
@MainActor public var isAvatarCircular: Bool { get set } -
Dimensions of grouped avatars border width. Default is 0.33.
Declaration
Swift
@MainActor public var avatarBorderWidth: CGFloat { get set } -
UIColorfor avatar border color. Default isseparator.Declaration
Swift
@MainActor public var avatarBorderColor: UIColor { get set } -
Array of
FUIImageViewfor avatars. These are rendered inFUIGroupAvatarsViewDeclaration
Swift
@MainActor public var groupedAvatarsViews: [FUIImageView] { get } -
Content mode for avatars. The default is up to avatars view.
Declaration
Swift
@MainActor public var avatarsContentMode: UIView.ContentMode? { get set } -
FUIGlyphImages(UIImageorString). These are rendered in the horizontal view below main.Declaration
Swift
@MainActor public var footnoteIcons: [FUIGlyphImage] { get set } -
Multiline text displayed to the leading or trailing position of
footnoteIcons.Declaration
Swift
@MainActor public var footnoteIconsText: FUIMultiLineText { get } -
Text position for
footnoteIconsText. Default is.trailing.Declaration
Swift
@MainActor public var footnoteIconsTextPosition: FUIAvatarStack.TextPosition { get set } -
The maximum number of footnote icons. The default is
nil.Declaration
Swift
@MainActor public var footnoteIconsMaxCount: Int? { get set } -
Dimensions of
footnoteIconssize. The default is16x16.Declaration
Swift
@MainActor public var footnoteIconSize: CGSize { get set } -
Specifies whether the
footnoteIconsare drawn as circular. The default istrue.Declaration
Swift
@MainActor public var isFootnoteIconCircular: Bool { get set } -
Undocumented
Declaration
Swift
@MainActor public var iconsSpacing: CGFloat { get set } -
Array of
FUIImageViews for footnote icons.Declaration
Swift
@MainActor public var footnoteIconsViews: [FUIImageView] { get } -
Content mode for footnote icons. The default is up to footnote icons view.
Declaration
Swift
@MainActor public var footnoteIconsContentMode: UIView.ContentMode? { get set } -
Action button in
FUIObjectView. The button is hidden by default.Declaration
Swift
@MainActor public lazy var actionButton: FUIButton { get set } -
Method invoked when frames are recalculated
Declaration
Swift
@MainActor open override func calculateLayout(_ targetSize: CGSize)Parameters
targetSizeCGSizeof the target to be recalculated
-
This property indicates if the content copyable is enabled or not.
The default is
true.Declaration
Swift
@MainActor open var isContentCopyable: Bool { get set }
-
Declaration
Swift
@MainActor open override func calculateSkeletonLayout(_ targetSize: CGSize)