Skip to content

Commit

Permalink
Edit Custom Cell Documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander-Frost committed Oct 5, 2019
1 parent 5512d22 commit 16e6ee5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CUSTOM_CELLS.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ open class MyCustomCell: UICollectionViewCell {
```swift
open class CustomMessageSizeCalculator: MessageSizeCalculator {
open override func messageContainerSize(for message: MessageType) -> CGSize {
// HERE
// Customize this function implementation to size your content appropriately. This example simply returns a constant size
// Refer to the default MessageKit cell implementations, and the Example App to see how to size a custom cell dynamically
return CGSize(width: 300, height: 130)
}
}
Expand Down

0 comments on commit 16e6ee5

Please sign in to comment.