Nathan Tannar
2f1c0e53ce
Bump copyright year
2019-02-21 20:53:23 -08:00
Nathan Tannar and GitHub
971affc89d
Merge pull request #892 from TAGonSoft/development
...
Add support for audio messages.
2019-02-19 00:06:00 -08:00
Nathan Tannar and Steven Deutsch
d5b93a6562
Add Leading/Trailing padding to AvatarPosition ( #944 )
...
* Rework of avatar padding
* Use avatarLeadingTrailingPadding
* Undo edit in example
* Include changelog
2018-12-20 12:16:08 -06:00
Iosif Moldovan
e51fcf3d53
Merge branch 'development' of https://github.com/MessageKit/MessageKit into tagonsoft_development
...
# Conflicts:
# CHANGELOG.md
2018-11-27 17:18:41 +02:00
Maxim Tsvetkov and Steven Deutsch
32ecab3066
Enhancement/add another bottom label to the cell ( #920 )
...
* Rename cell bottom label stuff which actually conforms to message bottom label stuff
* Add cell bottom label methods for flow layout, data source and delegates
* Add vars for cell bottom label alignment and size
* Add cell bottom label into message content cell and set layout for label
* Set attributes for cell bottom label
Add cell bottom label attributes into calculation of cell content height
* Update example project to display cell bottom label
* Set avatar position to messageBottom in example project to display avatar with cell bottom label more pleasant (cosmetic change)
* Revert "Set avatar position to messageBottom in example project to display avatar with cell bottom label more pleasant (cosmetic change)"
This reverts commit d8d215518a .
* Fix comment to capitalize word
* Add cell bottom label after message bottom label in message content cell
* Update changelog
* Calculate Y position of cell bottom label as max Y position of message bottom label
* Move layout calculation of cell bottom label after layout calculation of message bottom label (because layout calculation of cell bottom label depends on layout calculation of message bottom label now)
* Update breaking changes in changelog
2018-11-23 14:27:17 -06:00
Iosif Moldovan
ce6ebb0f0b
Merge branch 'development' of https://github.com/MessageKit/MessageKit into tagonsoft_development
...
# Conflicts:
# Example/Sources/Data Generation/SampleData.swift
2018-10-26 09:33:45 +03:00
Nathan Tannar and GitHub
3b3db11032
Merge pull request #879 from RealBonus/enhancement/customMessageKind
...
MessagesDataSource & MessagesLayoutDelegate methods for MessageType.custom
2018-10-25 18:02:46 -07:00
Pavel Anokhov
eb848be3f0
Changelog and some comments
2018-10-19 16:32:46 +03:00
Iosif Moldovan
eae6aa1e5a
Merge branch 'development' of https://github.com/MessageKit/MessageKit into tagonsoft_development
...
# Conflicts:
# Example/Podfile.lock
# Example/Sources/View Controllers/ChatViewController.swift
# MessageKit.xcodeproj/project.pbxproj
# Sources/Protocols/MessageCellDelegate.swift
2018-10-16 09:13:25 +03:00
Wu Zhong and GitHub
aa734da840
Merge pull request #905 from talanov/development
...
Fix: Allow required initializator methods @ Views.
2018-10-14 23:04:39 +08:00
stanislav
648609d114
Fix: Allow required init coder @ MessageLabel, MessagesCollection, PlayButton Views, MessageContent, MessageCollectionView Cells, MessagesCollectionViewFlow Layout.
2018-10-14 17:45:57 +03:00
Nathan Tannar
2e6de00785
Horizontal Padding only for accessoryView
2018-10-11 22:21:16 -07:00
Iosif Moldovan
9ebcd8c9ab
fix compute audio cell size in the advance example view controller
2018-10-04 12:39:40 +03:00
Iosif Moldovan
515b98ce45
partial development in add audio message support
2018-10-03 12:19:33 +03:00
Pavel Anokhov
2aa9573c58
Better method names
2018-10-02 12:19:47 +03:00
Nathan Tannar
9a2affcd6f
Update to Swift 4.2
2018-09-29 11:45:50 -07:00
Pavel Anokhov
fe0a000fc5
MessagesDataSource & MessagesLayoutDelegate methods for MessageType.custom handling.
2018-09-08 11:16:42 +03:00
Steven Deutsch
1be76220a5
Fix CHANGELOG
2018-08-15 10:50:50 -05:00
Cory Imdieke and GitHub
16761a01a5
Double the font size of emoji messages
...
Modifies the emoji size calculator to set a new font, which has a size that is double the size of the default font.
2018-08-02 15:34:52 -05:00
Shawn Gong
7fde2fdc26
mimic avatar
2018-06-02 19:11:19 -07:00
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