Commit Graph

828 Commits

Author SHA1 Message Date
Clay Ellis edc71e2f91 Rename shouldAutoUpdateSendButtonEnabledStateOnTextDidChange > shouldManageSendButtonEnabledState and update documentation comment. 2018-02-21 22:32:27 -07: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
Steven Deutsch 9881534449 Merge pull request #524 from dingwilson/patch-1
Updated README to create contact section
2018-02-17 17:13:32 -06:00
Wilson Ding 7e6bcb3dde Updated README to create contact section 2018-02-17 11:29:01 -06:00
Steven Deutsch 1830655da1 Merge pull request #515 from ndonald2/bubble-caching
Add in-memory caching for bubble outline images
2018-02-12 18:48:38 -06: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 1e81ae617d Add test for outline image caching
Assert images returned for the same outline style are identical.
2018-02-12 09:23:09 -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 Deutsch a0870dd2d4 Merge pull request #496 from ash30/docs/CustomiseCells
[Documentation] MessagesDisplayDelegate.md
2018-01-30 04:51:21 -06:00
Ashley Arthur 16e7e91d9a [Documentation] MessagesDisplayDelegate.md
Additional Header/Footer Customization hints
2018-01-28 13:28:59 +00:00
Steven Deutsch 5f4fdd834e Merge pull request #486 from MessageKit/development
Release 0.13.1
0.13.1
2018-01-26 10:11:35 -06:00
Steven Deutsch 4b2e863c66 Merge branch 'master' into development 2018-01-26 02:44:41 -06:00
Steven Deutsch eb4b38570a Release 0.13.1 2018-01-26 02:43:17 -06:00
Steven Deutsch 0a1572b471 Merge pull request #483 from zhongwuzw/fix-typo
Fix typo
2018-01-25 12:18:47 -06:00
zhongwuzw 6da545fa36 Fix typo 2018-01-25 11:12:19 +08:00
Wu Zhong 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
Wu Zhong 6ca38b5cfb Merge pull request #475 from MessageKit/bugfix/messageInputBar
Fix messageInputBar sendButton not disabled in some situations
2018-01-25 10:17:15 +08:00
zhongwuzw d77ae89294 Add CHANGELOG entry 2018-01-25 09:55:56 +08:00
Wu Zhong 8e023841f6 Merge pull request #472 from zntfdr/patch-1
Remove unnecessary Avatar.playground
2018-01-19 23:01:42 +08:00
Federico Zanetello cdfbd0bb3e Remove unnecessary playground 2018-01-19 21:24:29 +07: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
Federico Zanetello d8cf90d123 Refactor initals to initials 2018-01-19 13:08:56 +07:00
Steven Deutsch d992a33845 Merge pull request #471 from zntfdr/patch-1
Fix Typos
2018-01-18 22:38:46 -06:00
Federico Zanetello cf0f86396f Fix Contributors Typo 2018-01-19 11:23:49 +07:00
Federico Zanetello 2973b55fcd Fix Compatibility Typo
Just a small error 😊
2018-01-19 11:09:09 +07:00
Steven Deutsch 3959b527e0 Merge pull request #469 from MessageKit/bugfix/bubble-ios9
Fix message bubble tail orientation invalidation in iOS9
2018-01-18 19:31:21 -06:00
zhongwuzw 3a6a2d72ab Fix message bubble tail orientation invalidation in iOS9 2018-01-18 22:57:29 +08:00
Wu Zhong 7c0fae42fa Merge pull request #464 from MessageKit/development
Version 0.13.0
0.13.0
2018-01-17 14:22:27 +08:00
Wu Zhong be0e7dc684 Merge branch 'master' into development 2018-01-17 13:34:22 +08:00
zhongwuzw f9e7172e8a Release for 0.13.0 2018-01-17 13:11:07 +08:00
Alessio Arsuffi 370c7c6e79 Feature/mock messages count settings (#458)
* Added UserDefaults Extension

to easily save and fetch settings values;

* added messages to fetch in settings

Added mock messages count to fetch in settings;

* Reverted to com.messagekit.ChatExample

* Fix copyright

* fix copyright

* fix copyright 2

* removed unused mark & fix init(coder:)

* remove unused cell height reference
2018-01-14 19:43:25 +01:00
Wu Zhong 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
Wu Zhong e66280d913 Merge pull request #444 from MessageKit/bugfix/contentInsetAdjust
Fixed wrong contentInset calculation when navigationBar is hidden
2018-01-14 09:42:38 +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 Zhong e05912bad9 Merge pull request #422 from MessageKit/feature/cell-copy
Added copy support for message bubble
2018-01-11 13:09:41 +08:00
Wu Zhong 9965f3ae7f Merge pull request #454 from MessageKit/bugfix/messageLayout
Fix message layout issue when sliding back controller
2018-01-11 12:06:18 +08:00
zhongwuzw ea9908e617 Fix message layout issue when sliding back controller 2018-01-11 11:12:24 +08:00
Wu Zhong de52e9085e Merge pull request #452 from alessioarsuffi/bugfix/location-message-snapshot-options-inaccesible
LocationMessageSnapshotOptions public
2018-01-11 09:59:24 +08:00
Alessio Arsuffi 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 Zhong 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