-
- Downloads
conversations: implement message grouping
- Calculates the grouping property of each message, determining
whether it's first, middle, or last within a sequence either
sent or received.
- Adjusts the top and bottom constraints for each message bubble
according to its sequencing.
- Fixes the scroll-to-bottom feature by updating the bottoOffset
value before conditionally scrolling, removing the scroll
animation, and only scrolling down when the user is near the
end of the chat.
- Applies a message bubble grouping style, adjusts line spacing
of the content, and decouples the theming of the message
bubble and text colors.
Change-Id: I9118c2bbca0433573c877450c73bd6dc5c9229a0
Reviewed-by:
Kateryna Kostiuk <kateryna.kostiuk@savoirfairelinux.com>
Showing
- Ring/Ring.xcodeproj/project.pbxproj 8 additions, 0 deletionsRing/Ring.xcodeproj/project.pbxproj
- Ring/Ring/AppDelegate.swift 2 additions, 0 deletionsRing/Ring/AppDelegate.swift
- Ring/Ring/Extensions/Chameleon+Ring.swift 4 additions, 7 deletionsRing/Ring/Extensions/Chameleon+Ring.swift
- Ring/Ring/Extensions/UIColor+Ring.swift 20 additions, 0 deletionsRing/Ring/Extensions/UIColor+Ring.swift
- Ring/Ring/Extensions/UILabel+Ring.swift 33 additions, 0 deletionsRing/Ring/Extensions/UILabel+Ring.swift
- Ring/Ring/Features/Conversations/Conversation/Cells/MessageCell.swift 33 additions, 0 deletions...atures/Conversations/Conversation/Cells/MessageCell.swift
- Ring/Ring/Features/Conversations/Conversation/Cells/MessageCellReceived.swift 1 addition, 5 deletions...onversations/Conversation/Cells/MessageCellReceived.swift
- Ring/Ring/Features/Conversations/Conversation/Cells/MessageCellReceived.xib 38 additions, 13 deletions.../Conversations/Conversation/Cells/MessageCellReceived.xib
- Ring/Ring/Features/Conversations/Conversation/Cells/MessageCellSent.swift 1 addition, 5 deletions...es/Conversations/Conversation/Cells/MessageCellSent.swift
- Ring/Ring/Features/Conversations/Conversation/Cells/MessageCellSent.xib 38 additions, 13 deletions...ures/Conversations/Conversation/Cells/MessageCellSent.xib
- Ring/Ring/Features/Conversations/Conversation/ConversationViewController.swift 122 additions, 11 deletions...nversations/Conversation/ConversationViewController.swift
Loading
Please register or sign in to comment