mirror of
https://github.com/MessageKit/MessageKit.git
synced 2026-02-06 19:03:19 +00:00
Merge pull request #496 from ash30/docs/CustomiseCells
[Documentation] MessagesDisplayDelegate.md
This commit is contained in:
@@ -83,6 +83,8 @@ By default, `messageHeaderView` uses the method `shouldDisplayHeader(for:_:_)` o
|
||||
|
||||
By default, `messageFooterView` returns `nil`.
|
||||
|
||||
In order to return a custom subclass for the header or footer you will need to register the custom cell via `messagesCollectionView.register` and optionally customise `headerViewSize` or `footerViewSize` within the assigned `MessagesLayoutDelegate`.
|
||||
|
||||
### Customizing a TextMessageCell's text color
|
||||
|
||||
```Swift
|
||||
|
||||
Reference in New Issue
Block a user