diff --git a/Documentation/MessagesDisplayDelegate.md b/Documentation/MessagesDisplayDelegate.md index dcd3785e..93f30dfb 100644 --- a/Documentation/MessagesDisplayDelegate.md +++ b/Documentation/MessagesDisplayDelegate.md @@ -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