zhongwuzw
|
386ab8027f
|
Change helper method from open to public
|
2018-05-23 10:36:40 +08:00 |
|
zhongwuzw
|
6d667fcaca
|
Replace comments
|
2018-05-22 20:17:00 +08:00 |
|
zhongwuzw
|
4dbf9ccdda
|
Added convenience method to set properties for all MessageSizeCalculators
|
2018-05-22 18:19:33 +08:00 |
|
zhongwuzw
|
39986f0458
|
Renamed MessageData to MessageKind
|
2018-04-16 11:57:50 +08:00 |
|
Corey Walo
|
1038b96d01
|
Update access control
These are necessary to create custom cells that rely on the existing layout mechanisms.
|
2018-04-06 16:15:52 -05:00 |
|
Corey Walo
|
3dc6979a78
|
Move computed properties out of extension and add documentation
|
2018-04-03 15:16:06 -05:00 |
|
Corey Walo
|
63784c7010
|
Make computed properties of MessagesCollectionViewFlowLayout public
This allows cellSizeCalculatorForItem to be overridden and still call super.
|
2018-04-03 14:59:06 -05:00 |
|
zhongwuzw
|
aaae67ec65
|
Make sizeCalculator lazy && fix access level
|
2018-03-30 10:09:46 +08:00 |
|
zhongwuzw
|
5971523b41
|
Support custom CellSizeCalculator not restrict to MessageSizeCalculator
|
2018-03-29 23:33:27 +08:00 |
|
zhongwuzw
|
7ac9ede829
|
make calculator of layour open
|
2018-03-29 15:38:45 +08: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
|
d342bc4b56
|
Add LocationItem protocol
|
2018-03-24 03:52:35 -05:00 |
|
Steven Deutsch
|
1432c02278
|
Handle layout logic using CellSizeCalculator
|
2018-03-24 03:52:35 -05:00 |
|
Steven Deutsch
|
3c3b0a052f
|
Add back shouldCacheAttributes
|
2018-03-24 03:52:35 -05:00 |
|
Steven Deutsch
|
75807db05b
|
Gardening and open a few methods
|
2018-03-24 03:52:35 -05:00 |
|
Steven Deutsch
|
3af73b0939
|
Clean up some cache edge cases
|
2018-03-24 03:52:35 -05:00 |
|
Steven Deutsch
|
9181cd8db4
|
Make itemHeight lazy on intermediate attributes
|
2018-03-24 03:52:35 -05:00 |
|
Steven Deutsch
|
7a30b63661
|
Handle MessageData.custom caching
|
2018-03-24 03:52:35 -05:00 |
|
Steven Deutsch
|
212473c26f
|
Create MessageCellLayout objects
|
2018-03-24 03:52:35 -05:00 |
|
Steven Deutsch
|
74946712d3
|
Revert access control to internal until otherwise
|
2018-03-24 03:52:35 -05:00 |
|
Steven Deutsch
|
0cc21797a0
|
Cache calculated text size
|
2018-03-24 03:52:35 -05:00 |
|
Steven Deutsch
|
a0264952c5
|
Remove cached layout attributes and cache text size
|
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 |
|
Steven Deutsch
|
dd6787d359
|
Set avatarposition as property on layout object
|
2018-03-24 03:52:35 -05:00 |
|
Steven Deutsch
|
bf3930bd14
|
Set message padding through property on layout object
|
2018-03-24 03:52:35 -05:00 |
|
Steven Deutsch
|
e2ede6fe5f
|
Set avatar size through properties on layout object
|
2018-03-24 03:52:35 -05:00 |
|
Steven Deutsch
|
7a1209ecbe
|
Remove open methods from extensions
|
2018-03-24 03:52:35 -05:00 |
|
Steven Deutsch
|
c3a2bef1c9
|
Merge branch 'master' of https://github.com/MessageKit/MessageKit into development
|
2018-03-18 16:51:09 -05:00 |
|
Lio
|
be26cd1165
|
Solves issue #559 ( https://github.com/MessageKit/MessageKit/issues/559 )
|
2018-03-16 00:46:46 +03:00 |
|
Javier Cancio
|
ab35614904
|
Solves issue #546 ( https://github.com/MessageKit/MessageKit/issues/546 )
|
2018-03-05 23:55:01 +01:00 |
|
Steven Deutsch
|
b4051be86b
|
Gardening + add in source docs
|
2018-01-31 01:05:33 -06:00 |
|
Steven Deutsch
|
a8a96d6401
|
Replace dictionary with NSCache #495
|
2018-01-30 23:54:28 -06:00 |
|
Steven Deutsch
|
8699a6bde2
|
Fix small comment
|
2018-01-28 14:37:48 -06:00 |
|
Steven Deutsch
|
4e123c35db
|
Gardening + fix failing tests
|
2018-01-28 14:28:47 -06:00 |
|
Steven Deutsch
|
e6b08ea64c
|
Open up custom cell API and split into files
|
2018-01-28 13:04:54 -06:00 |
|
zhongwuzw
|
6da545fa36
|
Fix typo
|
2018-01-25 11:12:19 +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
|
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
|
7252651821
|
Fix attributedText messageLabelFont bug
|
2017-12-17 20:54:22 -06:00 |
|
Steven Deutsch
|
a5de50a401
|
Add MessageLabel tests around detector attributes
|
2017-12-07 01:57:01 -06:00 |
|
Steven Deutsch
|
444fbb0f8e
|
cellTopLabel and cellBottomLabel size calculations
|
2017-12-04 17:30:23 -06:00 |
|
Steven Deutsch
|
949796d68d
|
Fix cellTopLabel and cellBottomLabel sizes
|
2017-12-04 00:47:35 -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
|
de610f525b
|
Remove unused class and gardening
|
2017-11-18 19:48:00 -06:00 |
|
Steven Deutsch
|
ba506ba46d
|
Remove MessageLabel typing from cell top & bottom labels
|
2017-11-18 19:42:39 -06:00 |
|
Steven Deutsch
|
54f670f671
|
Simplify origin calculations
|
2017-11-18 19:19:52 -06:00 |
|