Martin Púčik and Jakub Kaspar
bff35fda61
Added Swiftlint and Swiftformat plugins ( #1729 )
...
* build: Swiftlint plugin
* build: Swiftformat plugin
* build: Swiftformat plugin
* build: Swiftformat bash command
* style: Swiftformat rules
* style: Swiftformat applied to codebase
* style: Ignore Tests for Swiftlint
* Update bundler
* Update changelog and migration guide
* style: Ignore Example for Swiftlint
* chore: Changelog
* Update Xcode version for ci_pr_tests.yml
* Update ci_pr_framework.yml
* Update ci_pr_example.yml
* chore: Changelog
Co-authored-by: Jakub Kaspar <kaspikk@gmail.com >
2022-07-25 08:46:14 +00:00
Martin Púčik
cf07a475c9
Renamed func currentSender() -> SenderType to var currentSender: SenderType ( #1714 )
...
* refactor: Renamed `func currentSender() -> SenderType` to `var currentSender: SenderType`
* refactor: Renamed `func currentSender() -> SenderType` to `var currentSender: SenderType`
Changelog
2022-05-10 16:42:34 +02:00
martinpucik
4ab430c7b1
refactor: InpuBar as subview instead of accessoryView
...
Cleanup of commented and not used code
Moved some internal properties to state object
Removed iOS 13 available checks
2022-05-04 16:44:27 +02:00
Vignesh J
d383863700
Resolved merge conflicts
2021-04-23 13:32:01 +05:30
Vignesh J
bcadf885af
Added more cell size calculator delegate for non custom MessageType
2021-04-22 12:12:41 +05:30
Vignesh
0a5048864a
Adding UICollectionViewCell delegation for non custom MessageType
2021-04-21 11:08:41 +05:30
Jakub Kašpar
0e27b921ca
Update MessagesDataSource.swift
2020-09-04 11:15:27 +02:00
amir pirzad
c6bfdba900
Add document
2020-09-03 12:42:20 +04:30
amir pirzad
d2b87770c9
Conform protocol
2020-09-02 22:47:11 +04:30
amir pirzad
f08cdad1f4
Fix some issues
2020-09-02 22:28:24 +04:30
Nathan Tannar
3f93702ff1
Merge branch '3.0.0-beta' into typingIndicatorView
2019-04-02 22:45:52 -07:00
Nathan Tannar
d19e7df997
Go back to using a reserved section method
2019-04-02 22:43:09 -07:00
Nathan Tannar
b542ac88ee
Rename id to senderId in SenderType
2019-03-24 17:38:20 -07:00
Nathan Tannar
71bfc40d0a
Merge remote-tracking branch 'origin/master' into 3.0.0-beta
2019-03-24 11:42:55 -07:00
Ayoub Belemlih
3437eb27c6
Fix documentation error within MessagesDataSource.swift
2019-02-28 15:24:54 -06:00
Nathan Tannar
2f1c0e53ce
Bump copyright year
2019-02-21 20:53:23 -08:00
Nathan Tannar
94d121bc00
Merge remote-tracking branch 'origin/3.0.0-beta' into sender-protocol
2019-02-19 00:07:50 -08:00
Nathan Tannar
755d20e3da
Cleanup / Add changelog
2018-11-25 21:33:07 -08:00
Nathan Tannar
762f583d49
Refactor to see what SenderType would look like
2018-11-25 21:27:33 -08:00
Maxim Tsvetkov
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
Pavel Anokhov
485b4602af
swiftlint
2018-09-27 14:32:47 +03:00
Pavel Anokhov
fe0a000fc5
MessagesDataSource & MessagesLayoutDelegate methods for MessageType.custom handling.
2018-09-08 11:16:42 +03:00
Shawn Gong
7fde2fdc26
mimic avatar
2018-06-02 19:11:19 -07:00
Shawn Gong
3554e3fd24
Fix configCell stub cell type
2018-06-02 14:27:51 -07:00
Shawn Gong
9c23282d07
Add customizable accessoryView besides messageContainer
2018-06-02 02:10:51 -07:00
Steven Deutsch
a6473c673e
Rename cellBottomLabel
2018-04-26 02:51:41 -05:00
zhongwuzw
56418d2c70
Add cellTopLabel and rename topLabel to messageTopLabel
2018-04-16 18:40:58 +08:00
Steven Deutsch
04bfb7c5d7
Document all protocols
2018-03-30 10:43:41 -05:00
Steven Deutsch
07c0e58597
Remove the limitation of 1 cell to 1 section ( #601 )
...
* Add numberOfSections delegate method
* Remove numberOfMessages(in) and add other two substitution methods
* Fix tests failure
2018-03-29 13:16:32 +08:00
zhongwuzw
6da545fa36
Fix typo
2018-01-25 11:12:19 +08:00
Steven Deutsch
148d138787
Merge branch 'master' into development
2018-01-11 23:35:20 -06:00
Rich Gabrielli
1782b0b2a1
Change Copyright to "Copyright (c) 2017-2018 MessageKit"
2018-01-02 22:16:05 -05:00
Wu Zhong
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
117dd63fe0
Fix MessageInputBar layout issues && code optimize
...
1. Fix ambiguous layout issues when MessageInputBar run layoutIfNeeded
method before added to superview.
2. Just reload new added message when click send button.
3. Change class-only protocols declaration.
4. Change placeholderLabel’s centerX、centerY priority because we need
satisfy left/right、top/bottom constraint first .
2017-11-03 23:01:18 +08:00
Steven Deutsch
da9a1a804a
Add documentation for some of the protocols
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