Basics of Sendbird UIKit message cells #77
Pinned
lookdeceline
announced in
1. Chatting in a channel
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
The basics of message cells and a guide on customizing them.
Guide & Snippet
You can customize the message cells by inheritting different Sendbird UIKit message cells. You can selectively override the components, methods, and/or add custom views into the existing view hierarchy.
Each message cell (
SBUUserMessageCell
,SBUFileMessageCell
,SBUMultipleFilesMessageCell
,SBUAdminMessageCell
,SBUTypingIndicatorMessageCell
) inheritsSBUContentBaseMessageCell
. To add your custom views into the existing message cells, you can selectively insert views into the view hierarchy ofSBUContentBaseMessageCell
or that of each message cell. The below is an image of the view hierarchy ofSBUContentBaseMessageCell
.The code below shows an example of adding a UILabel view into
SBUUserMessageCell
.Reference
Beta Was this translation helpful? Give feedback.
All reactions