834 Commits
Author SHA1 Message Date
Zandor Smith 83d652e375 Set typing indicator hidden inside performBatchUpdates to prevent flow layout from requesting message type from DataSource for typing indicator section. 2023-07-10 21:29:49 +02:00
Mahmudul Hasan f43a0f4d82 Changed 'didChangeStatusBarOrientationNotification' to 'UIDevice.orientationDidChangeNotification' due to deprecation. 2022-09-08 17:57:58 +06:00
Roman Podymov 99b71d0e84 Collection View Height 2022-08-22 09:44:43 +02:00
Martin PúčikandGitHub 14dd6aa335 Fix SwiftPM plugins (#1732)
* fix: SwiftPM plugins

* fix: SwiftPM plugins

Added swiftlint command line plugin

* fix: SwiftPM plugins

Try makefile for CI runs

* fix: SwiftPM plugins

Try makefile for CI runs

* fix: SwiftPM plugins

Try swiftlint bin from SwiftPM

* fix: SwiftPM plugins

Resolve spm before running danger lint

* fix: SwiftPM plugins

Resolve spm before running danger lint

* fix: SwiftPM plugins

Changelog

* fix: SwiftPM plugins

Test failures reporting on CI

* fix: SwiftPM plugins

Test failures reporting on CI

* fix: SwiftPM plugins

Test failures reporting on CI

* fix: SwiftPM plugins

Revert failing code

* fix: SwiftPM plugins

Revert failing code

* fix: SwiftPM plugins

Cleanup unused files

* fix: SwiftPM plugins

Makefile setup for git hooks
2022-07-31 14:37:07 +02:00
Jakub Kaspar 82bfa7b1f6 Merge branch 'main' into fixWarnings
# Conflicts:
#	CHANGELOG.md
#	Sources/Controllers/MessagesViewController+TypingIndicator.swift
#	Sources/Views/Cells/LocationMessageCell.swift
2022-07-25 10:48:34 +02:00
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
Jakub Kaspar 68f74f2890 Fix warnings about deprecated methods in iOS 13 2022-07-24 22:41:53 +02:00
Martin PúčikandGitHub 6244308bff Observe inputBar frame change to update collectionView bottom inset (#1726)
* feat: Update bottom inset on InputBar frame  change

* feat: Update bottom inset on InputBar frame  change

Delay textview did begin editing notification for scroll to bottom to work

* feat: Update bottom inset on InputBar frame  change

Remove unnecessary presentedController check

* feat: Update bottom inset on InputBar frame  change

Docu

* feat: Update bottom inset on InputBar frame  change

Changelog
2022-07-20 16:26:54 +02:00
Martin PúčikandGitHub fe1c415b20 Update chat bottom inset after input bar size change (#1725)
* fix: Update chat bottom inset after input bar size change

* fix: Update chat bottom inset after input bar size change

Changelog update
2022-07-19 13:54:05 +02:00
Jakub Kaspar 68dc85aeac Fix changelog and warning 2022-05-10 17:00:07 +02:00
Jakub Kaspar 1fc00de76a Add swiftlint config, fix iOS 13 deprecation 2022-05-10 16:52:02 +02:00
Martin PúčikandGitHub 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
Martin PúčikandGitHub 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
Martin PúčikandGitHub 0e95375b21 Added a way to change messageInputBar to a custom view (#1707)
* chore: Fix Example controllers presentation

* feat: MessageInputBarKind
2022-05-06 13:04:37 +00:00
Martin PúčikandGitHub 7d66a982ad Updating messagesCollectionView's bottom inset and content position on inpuBar height change (#1705)
* refactor: InpuBar height change behavior

* refactor: InpuBar height change behavior

Changelog
2022-05-05 14:03:22 +00:00
martinpucik aef7eccaba refactor: InpuBar as subview instead of accessoryView
Updated InputBarAccessoryView version to 6.0.0
2022-05-05 11:44:46 +02:00
martinpucik 859e9c29f9 refactor: InpuBar as subview instead of accessoryView
Move typing indicator methods to extension
2022-05-04 17:48:06 +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
martinpucik dbbf45d2ee refactor: InpuBar as subview instead of accessoryView
Using KeyboardManager to handle input container view position on keyboard change
2022-05-03 14:47:13 +02:00
martinpucik 0709350393 refactor: InpuBar as subview instead of accessoryView
Basic keyboard observing from accessory view's observing view
2022-04-29 12:30:19 +02:00
martinpucik a9fe82336f Merge remote-tracking branch 'origin/master' into 4.0.0 2022-04-26 18:44:52 +02:00
tan zhixiangandGitHub 85486ba204 fix indention 2022-03-30 17:16:35 +09:00
martinpucik ddfc814d32 feat: MessagesLayoutDelegate method for avatar size 2022-03-04 13:07:06 +01:00
martinpucik cd4f75b561 refactor: MessageSizeCalculator methods with indexPath argument
BREAKING CHANGE:
`func messageContainerMaxWidth(for message: MessageType) -> CGFloat` now has IndexPath argument `func messageContainerMaxWidth(for message: MessageType, at indexPath: IndexPath) -> CGFloat
`func messageContainerSize(for message: MessageType) -> CGSize` now has IndexPath argument `func messageContainerSize(for message: MessageType, at indexPath: IndexPath) -> CGSize`
2022-03-04 12:24:04 +01:00
Martin PúčikandGitHub c2cf1a27e8 Added new methods in MessagesLayoutDelegate for adjusting alignment of message top and bottom labels (#1671) 2022-02-08 09:03:30 +01:00
martinpucik a1a0ba7173 feat: MessagesLayoutDelegate methods for Top/Bottom message label alignments
Fix example MessageKit local package import
2022-02-03 19:31:40 +01:00
martinpucik ccad74807b feat: MessagesLayoutDelegate methods for Top/Bottom message label alignments 2022-02-03 18:56:17 +01:00
martinpucik 951b73f6c4 chore: Update Package.swift to tools version 5.5 2022-02-03 11:53:54 +01: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
Jakub KašparandGitHub 79c2d6171b Merge branch 'master' into extension/ScrollDelegate 2021-12-14 09:01:44 +01:00
Ikko AshimineandGitHub 6a648e4c27 Fix typo in AudioMessageCell.swift
lable -> label
2021-11-20 01:33:48 +09:00
Mehmet Baykar d0a89b345d Add overridable UIScrollView Delegate 2021-11-18 10:59:03 +01:00
Angel López Henquén 5e3ae8bee5 Issue #1624
Made "gestureRecognizerShouldBegin" function OPEN, to be able to overwrite it if necessary in ViewControllers which inherits from MessagesViewController.
2021-11-16 13:12:07 +01:00
Mehmet Baykar 4e24227810 Fix the NaN crash due to the zero width or height of the bubble 2021-11-14 10:46:00 +01:00
Seyed Mojtaba Hosseini Zeidabadi 3938c3008a fix: misspellings of the code inside the link preview message size calculator file 2021-09-10 14:42:23 +04:30
Seyed Mojtaba Hosseini Zeidabadi 19090561c4 fix: misspellings of the comments inside the avatar position file 2021-09-10 14:40:07 +04:30
Seyed Mojtaba Hosseini Zeidabadi 05b7c4895a fix: misspellings of the comments inside the horizontal edge insets file 2021-09-10 14:39:19 +04:30
Seyed Mojtaba Hosseini Zeidabadi 69e6a1c04d fix: misspellings of comments inside the sender file 2021-09-10 14:36:09 +04:30
Seyed Mojtaba Hosseini Zeidabadi 0418a29353 fix: misspellings of comments inside the link item file 2021-09-10 14:35:22 +04:30
Seyed Mojtaba Hosseini Zeidabadi f06802f749 fix: misspellings of comments inside the media item file 2021-09-10 14:34:49 +04:30
Seyed Mojtaba Hosseini Zeidabadi 2d8141a70b fix: misspellings of comments inside the message display delegate file 2021-09-10 14:33:50 +04:30
Seyed Mojtaba Hosseini Zeidabadi bcd0558f6b fix: misspellings of comments inside the message layout delegate file 2021-09-10 14:32:55 +04:30
Seyed Mojtaba Hosseini Zeidabadi 9bae6f3ec4 enhance: formatting of the documentation comment 2021-09-10 14:29:18 +04:30
Seyed Mojtaba Hosseini Zeidabadi 62ae0c65f4 fix: misspellings of comments inside the bubble circle file 2021-09-10 14:28:06 +04:30
Itai SpectorandGitHub 330af7270c fixed typo 2021-06-16 15:20:47 +03:00
Vignesh J ecc62b4d1f Added Custom Text Messages Layout example 2021-05-01 21:38:20 +05:30
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