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 and GitHub
9793c9deb0
Removed unavailable and deprecated code ( #1713 )
...
* chore: Remove unavailable and deprecated code
* chore: Remove unavailable and deprecated code
Update changelog
2022-05-10 15:46:16 +02:00
Edward Warrender
88604e9441
Put return on a newline within indexPathForLastItem
2022-01-04 08:52:16 +00:00
Edward Warrender
ea086d7e4c
Improvement in logic for scrollToLastItem
2021-12-20 15:27:38 +00:00
Martin Púčik and GitHub
696eb34dc2
Deprecated scrollToBottom() in favor of scrollToLastItem() ( #1505 )
...
* refactor: deprecated scrollToBottom() in favor of scrollToLastItem
* refactor: deprecated scrollToBottom() in favor of scrollToLastItem
Changelog
2020-12-03 19:09:21 +01:00
amir pirzad
f08cdad1f4
Fix some issues
2020-09-02 22:28:24 +04:30
amir pirzad
c0a659daa3
Change to better check
2020-08-30 02:14:47 +04:30
Kino Roy and GitHub
02b03f3c26
Merge branch 'development' into link-preview-support
2020-06-30 10:42:28 -07:00
Martin Púčik and GitHub
81395b6575
Swift Package Manager support without RxSwift dependency ( #1341 )
...
* feat: SPM support
Using InputAccessoryView dependency without Rx
* feat: SPM support
Add missing imports
* feat: Swift Package Manager support
Added Package description with Assets support for Swift 5.3
* feat: Swift Package Manager support
Remove .swiftpm temp files
* feat: Swift Package Manager support
Ignore .swiftpm temp files
* feat: Swift Package Manager support
Remove Package.resolved
* feat: Swift Package Manager support
Ignore Package.resolved
* feat: Swift Package Manager support
Assets in framework project
* feat: Swift Package Manager support
Fix tests
* feat: Swift Package Manager support
Fix tests
* feat: Swift Package Manager support
Fix tests
* feat: Swift Package Manager support
Try Bundle.module to get MessageKit bundle
* feat: Swift Package Manager support
SPM condition in bundle
* feat: Swift Package Manager support
Remove previous Swift 5.2 version Package.swift
* feat: Swift Package Manager support
Update Readme with SPM installation
2020-06-30 17:24:07 +02:00
Kino Roy and GitHub
1918e55a48
Convert internal, static colors into color assets. ( #1386 )
...
* Add Assets.xcassets to MessageKitAssets.bundle
* Replace incomingGray, outgoingGreen, inputBarGray
* Replace playButtonLightGray, with UIVisualEffectView to mimic iMessage (Fixes #1321 , Fixes #1335 )
* Fixes an issue where the triangle in the play button is not centered
* remove sendButtonBlue, add incoming/outgoingAudioMessageTint
Matches audio tint more closely to iMessage by tinting white on outgoing and tinting blue on incoming
* Remove backgroundColor, add collectionViewBackground
* remove unused labelColor
* Remove unused placeholderTextColor
* Remove grayColor
* remove darkTextColor, add typingIndicatorDot
Matches dot color more closely to iMessage
* Remove unused lightGrayColor
* Adds high contrast appearances to the color assets
* Add MessageKitError string for case when color asset could not be loaded
Also removes redundant internal access level modifier on MessageKitError (internal is default), and changes MessageKitError from enum -> struct as its members were not enum cases
* Fix swiftlint issues
* Add label color asset and use in ContactMessageCell
* Fix tests
2020-06-23 13:42:00 -07:00
Bruno Guidolim
99d0719224
Add LinkPreview support to MessageKit
2020-04-04 16:55:50 +02:00
hyouuu and GitHub
d4f8a466e0
rename to lastItemIndex
2020-02-18 14:17:44 -08:00
hyouuu and GitHub
d1233de071
default pos to bottom
2020-02-17 01:27:07 -08:00
hyouuu and GitHub
d36568e5ab
Add scrollToLastItem
2020-02-17 00:31:52 -08:00
Vlada Radchenko
db27093302
dark mode support
2019-10-01 18:30:48 +03:00
Marc Etcheverry
a0462c1598
Fix scrollToBottom not working properly in some cases
2019-06-25 14:05:27 -07:00
Nathan Tannar
8cc96d71a2
Merge remote-tracking branch 'origin/3.0.0-beta' into typingIndicatorView
2019-04-05 00:11:14 -07:00
Nathan Tannar
601c393969
Better access control
2019-04-03 20:09:13 -07:00
Nathan Tannar
d19e7df997
Go back to using a reserved section method
2019-04-02 22:43:09 -07:00
Iosif Moldovan
de6a57645f
Merge branch '3.0.0-beta' of github.com:MessageKit/MessageKit into share_contact
...
# Conflicts:
# Example/Sources/Data Generation/SampleData.swift
# Sources/Views/Cells/AudioMessageCell.swift
2019-03-12 16:42:05 +02:00
Iosif Moldovan
08451fbde0
Add contact share message support
2019-03-12 16:02:52 +02:00
Nathan Tannar
fa06818e74
Typing Indicator as a Supplementary View
2019-02-28 22:40:36 -08:00
Nathan Tannar
2f1c0e53ce
Bump copyright year
2019-02-21 20:53:23 -08:00
Iosif Moldovan
ec9e5e906c
Merge branch 'development' of github.com:MessageKit/MessageKit into development
...
# Conflicts:
# CHANGELOG.md
2018-12-15 11:32:54 +02:00
Nathan Tannar and Steven Deutsch
0194cf7f80
Move handleTapGesture logic to MessageCollectionViewCell ( #950 )
...
* Move handleTapGesture func base class
* Add Changelog Entry
* Update CHANGELOG.md
2018-12-01 20:55:30 -06: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
stanislav
648609d114
Fix: Allow required init coder @ MessageLabel, MessagesCollection, PlayButton Views, MessageContent, MessageCollectionView Cells, MessagesCollectionViewFlow Layout.
2018-10-14 17:45:57 +03:00
Iosif Moldovan
a493493e0e
Revert "fix configure audio cell"
...
This reverts commit da872d6d0a , reversing
changes made to cda9cfa470 .
2018-10-04 10:09:55 +03:00
Iosif Moldovan
da872d6d0a
fix configure audio cell
2018-10-04 09:53:47 +03:00
Iosif Moldovan
515b98ce45
partial development in add audio message support
2018-10-03 12:19:33 +03:00
Nathan Tannar
9a2affcd6f
Update to Swift 4.2
2018-09-29 11:45:50 -07:00
Maxim Tsvetkov
ae68e19c3f
Rename convenience method to register Reusable View from nib
2018-09-15 22:44:10 +02:00
Maxim Tsvetkov
6a81f5c7b2
Add convenience method to register Reusable View from nib
2018-08-31 00:29:16 +02:00
zhongwuzw
56418d2c70
Add cellTopLabel and rename topLabel to messageTopLabel
2018-04-16 18:40:58 +08:00
Steven Deutsch
1dc97fc38f
Remove shouldDisplayHeader method
2018-04-03 13:24:43 -05:00
Steven Deutsch
911387edc1
Refactor header/footer API to remove indexPath
2018-04-03 13:24:43 -05:00
zhongwuzw
aaae67ec65
Make sizeCalculator lazy && fix access level
2018-03-30 10:09:46 +08:00
Steven Deutsch
800396c13e
Refactor reusable view inheritance hierarchy
2018-03-27 02:38:07 -05: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
zhongwuzw
20e3a5ece8
Remove blank lines
2017-12-20 11:39:06 +08:00
zhongwuzw
2e114e1f11
Move tap gesture from cell to collectionView
2017-12-20 11:35:34 +08:00
Steven Deutsch and GitHub
7ac0324c4d
Merge branch 'development' into enhancement/load-more-messages-and-maintain-scroll-position
2017-12-16 23:26:18 -06:00
zhongwuzw
57a4a256c0
Fix scroll to bottom instead of scroll to bottom bubble
2017-12-16 23:57:52 +08:00
zhongwuzw
30edae5cd1
fix indexPathForLastItem bug when numberOfSections equal to 1.
2017-12-12 16:00:30 +08:00
zhongwuzw
97c2401ffe
Fix scrollToBottom && remove scrollsToBottomOnFirstLayout
2017-12-11 15:20:59 +08:00
azurechen
0832ba3e64
Update reloadDataAndKeepOffset function.
2017-10-28 21:40:36 +08:00
azurechen
85550aba79
Remove refreshControl in MessageCollectionView.
2017-10-28 21:37:53 +08:00
azurechen
a675650eab
Replace reloadData by a new method reloadAndMaintainOffset.
2017-10-26 23:28:14 +08:00
azurechen
2fd137b6a7
Override the reloadData method of MessageCollectionView.
2017-10-26 01:16:23 +08:00