TextMessageCell
open class TextMessageCell: MessageContentCell
A subclass of MessageContentCell used to display text messages.
-
The
MessageCellDelegatefor the cell.Declaration
Swift
open override weak var delegate: MessageCellDelegate? -
The label used to display the message’s text.
Declaration
Swift
open var messageLabel = MessageLabel()
-
Undocumented
Declaration
Swift
open override func apply(_ layoutAttributes: UICollectionViewLayoutAttributes) -
Undocumented
Declaration
Swift
open override func prepareForReuse() -
Undocumented
Declaration
Swift
open override func setupSubviews() -
Declaration
Swift
open override func configure(with message: MessageType, at indexPath: IndexPath, and messagesCollectionView: MessagesCollectionView) -
Used to handle the cell’s contentView’s tap gesture. Return false when the contentView does not need to handle the gesture.
Declaration
Swift
open override func cellContentView(canHandle touchPoint: CGPoint) -> Bool
TextMessageCell Class Reference