FUIObjectViewBase
open class FUIObjectViewBase : FUITintableDrawingView<FUIControlState>, FUIReactingToAccessory, FUIObjectBaseDrawing, FUIContentCopyable
Typically not used by developer
-
UIImageView
displayingdetailImage
content. Will be rendered in view hierarchy.Declaration
Swift
lazy public private(set) var detailImageView: FUIImageView { get set }
-
UIImageView
displayingindicatorImageView
content. These are rendered in the view hierarchy.Declaration
Swift
lazy public private(set) var indicatorImageView: FUIImageView { get set }
-
Specifies whether the dimensions of the
iconImages
should be preserved, even if the property is empty. Defaults tofalse
.Declaration
Swift
@IBInspectable public var preserveIconStackSpacing: Bool { get set }
-
Specifies whether the dimensions of the
detailImageView
should be preserved, even if theimage
property is empty. Defaults tofalse
.Declaration
Swift
@IBInspectable public var preserveDetailImageSpacing: Bool { get set }
-
Width of area for stacked icons. Should only be modified, if rendering multi-digit indicators in the
iconImages
property. Defaults to16
.Declaration
Swift
public var iconsColumnWidth: CGFloat { get set }
-
Dimensions of
detailImageView
. Should be within range32x32
to60x60
.Declaration
Swift
public var detailImageViewSize: CGSize { get set }
-
Dimensions of
indicatorImageViewSize
. The default is16x16
.Declaration
Swift
public var indicatorImageViewSize: CGSize { get set }
-
Distribution of left and right content columns in
.regular
horizontal content mode. The default is0.5
.Declaration
Swift
@IBInspectable public var splitPercent: CGFloat { get set }
-
Specifies whether the description should displayed in compact view. Default to
false
Declaration
Swift
public var showDescriptionInCompact: Bool { get set }
-
Specifies whether the height of the
description
content will be limited to match the height of content in theheadline
,subheadline
, andfootnote
labels for regular mode. In compact mode, this property will be ignored. Defaults totrue
.Declaration
Swift
public var isLimitingHeightToMainContent: Bool { 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 totrue
.Declaration
Swift
@IBInspectable 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
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
public func centerYOffsetForAccessory() -> CGFloat
-
Specifies whether subview colors should be configured for presentation against light or dark background
Declaration
Swift
open override var backgroundColorScheme: FUIBackgroundColorScheme { get set }
-
FUIGlyphImages
(UIImage
orString
) displayed ingroupedAvatarsView
. Settingavatars
will causedetailImageView.image
to be invalid. The maximum number of images inavatars
is 2.Declaration
Swift
public var avatars: [FUIGlyphImage] { get set }
-
Dimensions of grouped avatars container. Default is
45x45
.Declaration
Swift
public var avatarSize: CGSize { get set }
-
Specifies whether the
avatars
are drawn as circular. The default istrue
.Declaration
Swift
public var isAvatarCircular: Bool { get set }
-
Dimensions of grouped avatars border width. Default is 0.33.
Declaration
Swift
public var avatarBorderWidth: CGFloat { get set }
-
UIColor
for avatar border color. Default isseparator
.Declaration
Swift
public var avatarBorderColor: UIColor { get set }
-
Array of
FUIImageView
for avatars. These are rendered inFUIGroupAvatarsView
Declaration
Swift
public var groupedAvatarsViews: [FUIImageView] { get }
-
FUIGlyphImages
(UIImage
orString
). These are rendered in the horizontal view below main.Declaration
Swift
public var footnoteIcons: [FUIGlyphImage] { get set }
-
The maximum number of footnote icons. The default is
nil
.Declaration
Swift
public var footnoteIconsMaxCount: Int? { get set }
-
Dimensions of
footnoteIcons
size. The default is16x16
.Declaration
Swift
public var footnoteIconSize: CGSize { get set }
-
Specifies whether the
footnoteIcons
are drawn as circular. The default istrue
.Declaration
Swift
public var isFootnoteIconCircular: Bool { get set }
-
Undocumented
Declaration
Swift
public var iconsSpacing: CGFloat { get set }
-
Array of
FUIImageView
s for footnote icons. These are rendered inFUIFootnoteIconsView
.Declaration
Swift
public var footnoteIconsViews: [FUIImageView] { get }
-
Method invoked when frames are recalculated
Declaration
Swift
open override func calculateLayout(_ targetSize: CGSize)
Parameters
targetSize
CGSize
of the target to be recalculated
-
This property indicates if the content copyable is enabled or not.
The default is
true
.Declaration
Swift
open var isContentCopyable: Bool { get set }