Skip to main content

input-chat-message-view-properties

content

The content of the view

public var content: Content? 

container

The main container stack view that layouts all the message input content views.

public private(set) lazy var container = ContainerStackView()
.withoutAutoresizingMaskConstraints

quotedMessageView

A view that displays the quoted message that the new message is replying.

public private(set) lazy var quotedMessageView = components
.quotedMessageView.init()
.withoutAutoresizingMaskConstraints

attachmentsViewContainer

A view that displays the attachments of the new message. This is view from separate AttachmentsVC and will be injected by the ComposerVC.

public private(set) lazy var attachmentsViewContainer = UIView()
.withoutAutoresizingMaskConstraints

inputTextContainer

The container stack view that layouts the command label, text view and the clean button.

public private(set) lazy var inputTextContainer = ContainerStackView()
.withoutAutoresizingMaskConstraints

textView

The input text view to type a new message or command.

public private(set) lazy var textView: InputTextView = components
.inputTextView.init()
.withoutAutoresizingMaskConstraints

commandLabelView

The command label that display the command info if a new command is being typed.

public private(set) lazy var commandLabelView: CommandLabelView = components
.commandLabelView.init()
.withoutAutoresizingMaskConstraints

clearButton

A button to clear the current typing information.

public private(set) lazy var clearButton: UIButton = components
.closeButton.init()
.withoutAutoresizingMaskConstraints

Methods

setUpAppearance()

override open func setUpAppearance() 

setUpLayout()

override open func setUpLayout() 

updateContent()

override open func updateContent()

Did you find this page helpful?