Commit Graph

24 Commits

Author SHA1 Message Date
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
zhongwuzw 6da545fa36 Fix typo 2018-01-25 11:12:19 +08:00
zhongwuzw 3a6a2d72ab Fix message bubble tail orientation invalidation in iOS9 2018-01-18 22:57:29 +08: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 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
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
Rich Gabrielli 1782b0b2a1 Change Copyright to "Copyright (c) 2017-2018 MessageKit" 2018-01-02 22:16:05 -05:00
Steven Deutsch 3fe5faf531 Merge pull request #378 from chrisbkarani/master
Bug fix to the access level of MessageKitDateFormatter singleton 'sha…
2017-12-06 10:24:05 -06:00
Chris Karani 4af23da9af Bug fix to the access level of MessageKitDateFormatter singleton 'shared' 2017-12-06 13:50:34 +03:00
Steven Deutsch 18b1385756 Add AvatarPosition init with default of .natural 2017-12-04 16:12:36 -06:00
Steven Deutsch 2a26523e97 Add AvatarPosition with Horizontal.natural case 2017-11-07 03:52:35 -06:00
Steven Deutsch f17b87a155 Remove AvatarAlignment and AvatarHorizontalAlignment 2017-11-07 03:52:13 -06:00
Sid McLaughlin a86bc8e6b1 Refactor initals to initials. (#315)
* Refactor `initals` to `initials`.

* Update changelog.

* Be more specific with changes.

* Update CHANGELOG.md
2017-11-02 00:06:20 -05:00
Steven Deutsch 14aeef08f8 Finish documenting protocols + a few more classes 2017-10-23 22:51:42 -05:00
Steven Deutsch 88c169ea4b Add Sender and MessageData documentation 2017-10-21 08:12:07 -05:00
Steven Deutsch 4dacbc7382 Add LabelAlignment documentation 2017-10-21 08:12:07 -05:00
Steven Deutsch 1e0cbd74ea Add AvatarAlignment documentation 2017-10-21 08:12:07 -05:00
Steven Deutsch 5b5acda988 Add Avatar documentation 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