447 Commits
Author SHA1 Message Date
zhongwuzw 05744ae80b Fix wrong seperated components in messageInputBar 2018-03-19 16:46:54 +08:00
Lio be26cd1165 Solves issue #559 ( https://github.com/MessageKit/MessageKit/issues/559 ) 2018-03-16 00:46:46 +03:00
Steven DeutschandGitHub da5479e318 Merge pull request #530 from clayellis/feature/auto-update-send
Add boolean flag to disable auto updating send button enabled state
2018-02-23 23:25:25 -06:00
zhongwuzw 5812f05656 fix bubble outline border color 2018-02-24 09:07:52 +08:00
Steven DeutschandGitHub 8c1f620de1 Merge branch 'master' into feature/auto-update-send 2018-02-23 01:44:57 -06:00
Clay Ellis edc71e2f91 Rename shouldAutoUpdateSendButtonEnabledStateOnTextDidChange > shouldManageSendButtonEnabledState and update documentation comment. 2018-02-21 22:32:27 -07:00
Wu ZhongandGitHub fe376fd258 Fix wrong bubble image cache (#531)
* Fix wrong bubble image cache

* refactor code

* remove unnecessary code
2018-02-21 11:50:21 +08:00
Clay Ellis 8bb411de60 Add boolean flag to disabled auto updating send button enabled state on text did change 2018-02-20 08:54:53 -07:00
Nick Donaldson 4a1fc40714 Test bubble image equality after cache clears
Change MessageStyle.bubbleImageCache access level to internal
and extend unit test to clear cache and check for inequality
after an image is requested again
2018-02-12 09:37:12 -08:00
Nick Donaldson ef707c8a53 Add NSCache for message bubble images
Cache stretchable bubble image data in memory using NSCache.
UIImage(contentsOfFile:) does _not_ cache the resulting image
so it needs to be handled explicitly, and there is no need to
reload the image from disk for every message.
2018-02-09 17:20:00 -05:00
Steven DeutschandGitHub 4b2e863c66 Merge branch 'master' into development 2018-01-26 02:44:41 -06:00
zhongwuzw 6da545fa36 Fix typo 2018-01-25 11:12:19 +08:00
Wu ZhongandGitHub 15e26f7c85 Optimize collectionView scroll behavior when abruptly stops scrolling (#470)
* Optimize collectionView scroll behavior when abruptly stops scrolling

* Add CHANGELOG entry
2018-01-25 10:52:36 +08:00
zhongwuzw cc192e66d1 replace static with class keyword to allow override 2018-01-19 21:27:46 +08:00
zhongwuzw 31543437cb Fix messageInputBar sendButton not disabled in some situations 2018-01-19 21:18:34 +08:00
zhongwuzw 3a6a2d72ab Fix message bubble tail orientation invalidation in iOS9 2018-01-18 22:57:29 +08:00
Wu ZhongandGitHub be0e7dc684 Merge branch 'master' into development 2018-01-17 13:34:22 +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
zhongwuzw 71e644cf62 Fix tests error 2018-01-14 16:33:41 +08:00
zhongwuzw 077b884e15 code clean && recover message handle logic 2018-01-14 16:02:00 +08:00
Steven Deutsch 148d138787 Merge branch 'master' into development 2018-01-11 23:35:20 -06:00
Steven Deutsch 7a112aa4c4 Fix failing build and copyrights 2018-01-11 23:32:35 -06:00
Steven Deutsch 810b58d88d Add MessageKitError to cleanup strings 2018-01-11 22:42:50 -06:00
Steven Deutsch 4a8d08e9e3 Separate MessagesViewController functionality into files 2018-01-11 22:19:38 -06:00
Wu ZhongandGitHub e05912bad9 Merge pull request #422 from MessageKit/feature/cell-copy
Added copy support for message bubble
2018-01-11 13:09:41 +08:00
zhongwuzw ea9908e617 Fix message layout issue when sliding back controller 2018-01-11 11:12:24 +08:00
Alessio ArsuffiandGitHub 060cd79784 Fix default values
Fix default values
2018-01-10 15:36:50 +01:00
Alessio Arsuffi faa4f92d1d LocationMessageSnapshotOptions public
Added public init and public accessors for
LocationMessageSnapshotOptions;
added test also;
2018-01-10 12:01:59 +01:00
Wu ZhongandGitHub c2e3a2ee5e Merge branch 'development' into feature/cell-copy 2018-01-09 11:01:34 +08:00
zhongwuzw 7b4461473d Optimize menu position in some situations 2018-01-09 10:55:50 +08:00
zhongwuzw b7cba2e1af Remove unnecessary code 2018-01-09 09:16:05 +08:00
zhongwuzw eff74af666 Fixed wrong contentInset calculation when navigationBar is hidden 2018-01-08 22:52:24 +08:00
Steven DeutschandGitHub 2c5bf14895 Merge pull request #423 from MessageKit/enhancement/inputTextViewImageSupport
Image Paste Support for InputTextView
2018-01-06 23:02:32 -06:00
Antoine Lamy ad7479a813 Fix MessageLabel enabled detectors attributes (#429) 2018-01-03 13:59:59 -05:00
Rich Gabrielli 1782b0b2a1 Change Copyright to "Copyright (c) 2017-2018 MessageKit" 2018-01-02 22:16:05 -05:00
zhongwuzw eb5a5aded8 Add call to the super when cell prepare for reuse 2017-12-31 17:23:25 +08:00
zhongwuzw d96d7efb58 Fix LocationMessageCell reuse bug 2017-12-29 14:33:44 +08:00
zhongwuzw 7a57b539f2 Fix inputTextView layout issue when rotated 2017-12-28 18:20:37 +08:00
Nathan Tannar 35d57bd100 Fixes 2017-12-27 21:07:33 -08:00
Nathan Tannar ac3093e54b Support for parsing components in the NSAttributedSting 2017-12-25 16:30:44 -08:00
zhongwuzw 42ea9ef0aa Fixed iPhoneX MessageInputBar transparent bottom area 2017-12-24 22:09:24 +08:00
Nathan Tannar 611c71dd8a Image Paste Support for InputTextView 2017-12-22 20:16:16 -08:00
zhongwuzw eb1c6f50a6 Added copy support for message bubble 2017-12-22 23:29:45 +08: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
zhongwuzw 20e3a5ece8 Remove blank lines 2017-12-20 11:39:06 +08:00
zhongwuzw 2e114e1f11 Move tap gesture from cell to collectionView 2017-12-20 11:35:34 +08:00
Steven DeutschandGitHub ec89a663e0 Merge branch 'development' into refactor/cell-configure 2017-12-17 21:34:48 -06:00
Steven Deutsch e7baba8dde Set contentOffset after bottomInset 2017-12-17 21:29:34 -06:00
Steven Deutsch fb2f55c66b Revert to old cell configure API 2017-12-17 21:10:46 -06:00
Steven Deutsch 7252651821 Fix attributedText messageLabelFont bug 2017-12-17 20:54:22 -06:00