Skip to main content

FileAttachmentView

A view that displays the file attachment.

open class FileAttachmentView: _View, AppearanceProvider 

Inheritance

_View, AppearanceProvider

Properties

height

open var height: CGFloat = 54

content

public var content: Content? 

fileNameLabel

public private(set) lazy var fileNameLabel = UILabel()
.withoutAutoresizingMaskConstraints
.withBidirectionalLanguagesSupport
.withAdjustingFontForContentSizeCategory

fileSizeLabel

public private(set) lazy var fileSizeLabel = UILabel()
.withoutAutoresizingMaskConstraints
.withBidirectionalLanguagesSupport
.withAdjustingFontForContentSizeCategory

fileNameAndSizeStack

public private(set) lazy var fileNameAndSizeStack: ContainerStackView 

fileIconImageView

The image view that displays the file icon of the attachment.

public private(set) lazy var fileIconImageView = UIImageView()
.withoutAutoresizingMaskConstraints

Methods

setUpAppearance()

override open func setUpAppearance() 

setUpLayout()

override open func setUpLayout() 

updateContent()

override open func updateContent() 

Did you find this page helpful?