command-label-view-properties
content
The command that the label displays.
public var content: Command?
container
The container stack view that layouts the label and the icon view.
public private(set) lazy var container = ContainerStackView()
.withoutAutoresizingMaskConstraints
nameLabel
An UILabel
that displays the command name.
public private(set) lazy var nameLabel = UILabel()
.withAdjustingFontForContentSizeCategory
.withBidirectionalLanguagesSupport
.withoutAutoresizingMaskConstraints
iconView
An UIImageView
that displays the icon of the command.
public private(set) lazy var iconView: UIImageView = UIImageView()
.withoutAutoresizingMaskConstraints
intrinsicContentSize
override open var intrinsicContentSize: CGSize
Methods
layoutSubviews()
override open func layoutSubviews()
setUpAppearance()
override open func setUpAppearance()
setUpLayout()
override open func setUpLayout()
updateContent()
override open func updateContent()