Commit Graph
101 Commits
Author SHA1 Message Date
Steven Deutsch 3786989988 Add CHANGELOG entry 2018-04-26 03:11:45 -05: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
zhongwuzw 39986f0458 Renamed MessageData to MessageKind 2018-04-16 11:57:50 +08:00
Corey WaloandWu Zhong 6fcd2d6aa2 Only apply textColor for .text case of MessageData (#625)
* Only apply textColor for .text case of MessageData

* Update CHANGELOG

* Add name and PR #
2018-04-06 10:27:01 +08:00
Steven Deutsch bb1ea1d67e Remove failing tests 2018-04-03 13:45:52 -05:00
Steven Deutsch 1dc97fc38f Remove shouldDisplayHeader method 2018-04-03 13:24:43 -05: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
zhongwuzw d2ce5877f9 Transform CellSizeCalculator from protocol to class 2018-03-31 16:03:35 +08:00
Steven Deutsch 04bfb7c5d7 Document all protocols 2018-03-30 10:43:41 -05:00
zhongwuzw 87a0baa31b Add explicit access level && some comments 2018-03-29 23:13:08 +08:00
Steven DeutschandWu Zhong 07c0e58597 Remove the limitation of 1 cell to 1 section (#601)
* Add numberOfSections delegate method

* Remove numberOfMessages(in) and add other two substitution methods

* Fix tests failure
2018-03-29 13:16:32 +08:00
Steven Deutsch 17398a2cb2 Add hook to configure async media on cell 2018-03-27 01:28:14 -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 4e7b1b4eed Make CellSizeCalculator a protocol 2018-03-24 03:52:35 -05:00
Steven Deutsch f589debbd9 Fix example app 2018-03-24 03:52:35 -05:00
Steven Deutsch d342bc4b56 Add LocationItem protocol 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
Alexander Momotiuk a77539288d Fix SwiftLint warnings #554 issue 2018-03-20 11:31:50 +02:00
Roodyn, Yishai (UK - London) c54b1c9a37 TransitInfoDetection - Added transitInfoDetection to message Label 2018-02-14 16:34:58 +00:00
zhongwuzw 6da545fa36 Fix typo 2018-01-25 11:12:19 +08: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 148d138787 Merge branch 'master' into development 2018-01-11 23:35:20 -06: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
Wu ZhongandSteven Deutsch b4aeea146c Add configureImageForAvatarView(::::) protocol to expose avatarView &… (#416)
* Add configureImageForAvatarView(::::) protocol to expose avatarView &&  remove avatar(:::)

* Refactor AvatarView && change configureImageForAvatarView's name to configureAvatarView

* Optimize code && fix tests

* Add CHANGELOG entry

* Revert "Add CHANGELOG entry"

This reverts commit 0124ab920b.
2017-12-21 16:52:04 -06:00
Steven Deutsch 435b053c8a Revert change that attempts to sync MessageLabel properties 2017-12-16 21:07:15 -06:00
Steven Deutsch 6bdbe65139 Allow detector attributes to be set outside of the cell 2017-12-14 11:54:48 -06:00
Steven DeutschandGitHub 0af6454ad9 Merge pull request #391 from MessageKit/enhancement/remove-cells
Removing cell generic constraints
2017-12-11 13:38:03 -06:00
Steven Deutsch 691359c657 Remove generic constraint from MessageCollectionViewCell 2017-12-09 07:07:55 -06: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 Deutsch 2017404988 Disable MessageLabel detectors by default 2017-11-18 21:45:20 -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
zhongwuzw aeddab2d66 replace class to AnyObject for Swift4 2017-11-08 14:52:16 +08: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 DeutschandGitHub a929e84355 Merge pull request #277 from MessageKit/documentation/tedious-task
Adds some Xcode documentation
2017-10-23 23:36:10 -05: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
Steven Deutsch 078bf010fc Add MessageType documentation 2017-10-21 08:12:07 -05:00
Nathan Tannar 325dd1cdb3 MessageInputBarDelegate Comments 2017-10-20 21:57:45 -07:00
Steven Deutsch ca6f9492a2 Add TextMessageDisplayDelegate 2017-10-05 12:55:28 -05:00