Merge pull request #496 from ash30/docs/CustomiseCells

[Documentation] MessagesDisplayDelegate.md
This commit is contained in:
Steven Deutsch
2018-01-30 04:51:21 -06:00
committed by GitHub
+2
View File
@@ -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