Commit Graph
34 Commits
Author SHA1 Message Date
Nathan Tannar 085f563a91 Crunch some bugs 2019-03-01 00:01:43 -08:00
Nathan Tannar fa06818e74 Typing Indicator as a Supplementary View 2019-02-28 22:40:36 -08:00
Nathan Tannar 2f1c0e53ce Bump copyright year 2019-02-21 20:53:23 -08:00
Maxim TsvetkovandSteven Deutsch 32ecab3066 Enhancement/add another bottom label to the cell (#920)
* Rename cell bottom label stuff which actually conforms to message bottom label stuff

* Add cell bottom label methods for flow layout, data source and delegates

* Add vars for cell bottom label alignment and size

* Add cell bottom label into message content cell and set layout for label

* Set attributes for cell bottom label
Add cell bottom label attributes into calculation of cell content height

* Update example project to display cell bottom label

* Set avatar position to messageBottom in example project to display avatar with cell bottom label more pleasant  (cosmetic change)

* Revert "Set avatar position to messageBottom in example project to display avatar with cell bottom label more pleasant  (cosmetic change)"

This reverts commit d8d215518a.

* Fix comment to capitalize word

* Add cell bottom label after message bottom label in message content cell

* Update changelog

* Calculate Y position of cell bottom label as max Y position of message bottom label

* Move layout calculation of cell bottom label after layout calculation of message bottom label (because layout calculation of cell bottom label depends on layout calculation of message bottom label  now)

* Update breaking changes in changelog
2018-11-23 14:27:17 -06:00
Pavel Anokhov 2aa9573c58 Better method names 2018-10-02 12:19:47 +03:00
Pavel Anokhov 485b4602af swiftlint 2018-09-27 14:32:47 +03:00
Pavel Anokhov fe0a000fc5 MessagesDataSource & MessagesLayoutDelegate methods for MessageType.custom handling. 2018-09-08 11:16:42 +03:00
Shawn Gong 7fde2fdc26 mimic avatar 2018-06-02 19:11:19 -07:00
Shawn Gong 9c23282d07 Add customizable accessoryView besides messageContainer 2018-06-02 02:10:51 -07:00
Steven Deutsch a6473c673e Rename cellBottomLabel 2018-04-26 02:51:41 -05:00
zhongwuzw 56418d2c70 Add cellTopLabel and rename topLabel to messageTopLabel 2018-04-16 18:40:58 +08:00
Steven Deutsch 911387edc1 Refactor header/footer API to remove indexPath 2018-04-03 13:24:43 -05:00
Steven Deutsch 9b8f0ba915 Remove CollectionViewReusable protocol 2018-04-03 13:24:43 -05:00
Steven Deutsch 04bfb7c5d7 Document all protocols 2018-03-30 10:43:41 -05:00
Steven Deutsch 66ed7a0817 Modify default behavior for insets and height 2018-03-24 03:52:35 -05:00
Steven Deutsch 4f2fd52465 Stop sizing cell labels to fit text 2018-03-24 03:52:35 -05:00
Steven Deutsch 86f9372d44 Add size calculators 2018-03-24 03:52:35 -05:00
Steven Deutsch f589debbd9 Fix example app 2018-03-24 03:52:35 -05:00
Steven Deutsch 5707a3441f Add MediaItem protocol 2018-03-24 03:52:35 -05:00
Steven Deutsch 3c3b0a052f Add back shouldCacheAttributes 2018-03-24 03:52:35 -05:00
Steven Deutsch 30e6b105c7 Set label positions as properties of layout object 2018-03-24 03:52:35 -05:00
Wu ZhongandGitHub 2e9ff264a8 Merge pull request #459 from MessageKit/refactor/clean-up
Split MessagesViewController functionality & add MessageKitError
2018-01-14 16:54:13 +08:00
Steven Deutsch 810b58d88d Add MessageKitError to cleanup strings 2018-01-11 22:42:50 -06:00
Rich Gabrielli 1782b0b2a1 Change Copyright to "Copyright (c) 2017-2018 MessageKit" 2018-01-02 22:16:05 -05:00
Steven Deutsch a5de50a401 Add MessageLabel tests around detector attributes 2017-12-07 01:57:01 -06:00
Steven Deutsch 9bc218514b Add shouldCacheLayoutAttributes method 2017-11-30 15:45:47 -06:00
Steven Deutsch 3759610cfa Remove different delegates for different message types 2017-11-30 15:15:49 -06:00
Steven DeutschandGitHub 0390f81608 Merge pull request #325 from zhongwuzw/master
Fix MessageInputBar layout issues && code optimize
2017-11-10 20:31:16 -06:00
Steven Deutsch 2a26523e97 Add AvatarPosition with Horizontal.natural case 2017-11-07 03:52:35 -06:00
Steven Deutsch 6985ec588a Refactor AvatarAlignment -> AvatarPosition 2017-11-07 03:06:23 -06:00
zhongwuzw 117dd63fe0 Fix MessageInputBar layout issues && code optimize
1. Fix ambiguous layout issues when MessageInputBar run layoutIfNeeded
method before added to superview.
2. Just reload new added message when click send button.
3. Change class-only protocols declaration.
4. Change placeholderLabel’s centerX、centerY priority because we need
satisfy left/right、top/bottom constraint first .
2017-11-03 23:01:18 +08:00
Steven Deutsch 14aeef08f8 Finish documenting protocols + a few more classes 2017-10-23 22:51:42 -05:00
Steven Deutsch da9a1a804a Add documentation for some of the protocols 2017-10-21 08:12:07 -05:00
Candost Dagdeviren dde838630a Update folder structure to represent groups
Signed-off-by: Candost Dagdeviren <candostdagdeviren@gmail.com>
2017-10-05 15:47:23 +02:00