851 Commits

Author SHA1 Message Date
Jakub Kaspar 3a0f20b96a Return empty cell in case location is invalid 2024-11-25 17:48:38 +01:00
Jakub Kaspar ba4f2b9afa Improve error message 2024-11-25 17:44:21 +01:00
Jakub Kaspar 644ee72418 Fix tests and warnings 2024-11-25 17:39:15 +01:00
Jakub Kaspar 6bb47d5af5 Remove plugins that caused issues, migrate to swift 6 2024-10-30 07:49:27 +01:00
Jakub Kaspar 587a60f273 Fix example app 2024-10-30 07:12:16 +01:00
Jakub Kašpar e80018e17a Merge branch 'main' into main 2024-09-10 13:40:14 +02:00
Jakub Kašpar 21b866defa Merge branch 'main' into main 2024-09-10 12:59:43 +02:00
GitNirajHub 3dffe09b4f Added custom image masking 2024-08-29 00:12:16 +05:30
CocoaBob 0be65a1f82 Fix timestamp label layout when not in fullscreen 2024-07-30 18:51:40 -04:00
Dmitry Khudyakov 93511cad3b Fix for overlapping detected matches 2024-07-13 20:57:10 +06:00
Jakub Kaspar 439bb19a6f Make keyboard manager public 2024-07-11 11:32:52 +02:00
Raúl Olmedo 944b0c828e Wait for the inputView to be laid out 2024-05-27 19:01:04 +02:00
Raúl Olmedo 29beea1868 Added listener for keyboard input mode changes (e.g. emoji keyboard) 2024-05-24 17:08:47 +02:00
Jakub Kašpar 7e55608d5a Merge branch 'main' into main 2024-02-21 09:16:58 +01:00
Artem Trubacheev 5166b9b23c Added ability to specify additionalBottomSpace for keyboardManager 2023-11-14 14:56:21 +04:00
Roman Podymov 6bb8586777 From yokochi/MessageKit/pull/1 2023-10-20 17:45:51 +02:00
Kutay Karakamış 9ecaf1fa07 duration Nan issue fix
If audio url has authentication, sometimes duration came as Nan.
Integer(NaN) causes crash.
2023-09-01 15:54:19 +03:00
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účik 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
Martin Púčik 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účik 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účik 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úč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
Martin Púčik 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účik 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účik 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 zhixiang 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účik 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špar 79c2d6171b Merge branch 'master' into extension/ScrollDelegate 2021-12-14 09:01:44 +01:00
Ikko Ashimine 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