326 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 KašparandGitHub e80018e17a Merge branch 'main' into main 2024-09-10 13:40:14 +02:00
Jakub KašparandGitHub 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
Roman Podymov 6bb8586777 From yokochi/MessageKit/pull/1 2023-10-20 17:45:51 +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 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 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 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
Ikko AshimineandGitHub 6a648e4c27 Fix typo in AudioMessageCell.swift
lable -> label
2021-11-20 01:33:48 +09: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 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
Kurt Schaefer c5cdd11c59 Make messageTimestampLabel layout out relative to the messageContainerView so its vertical position tracks much better with the content of the message. 2021-03-16 16:48:28 -07:00
Martin PúčikandGitHub 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 0b42dfd75d fix timestamp label origin 2020-11-19 12:00:10 +03:30
David Vittori 04e1ebd7c0 calling displaydelegate at the end of configure audico cell 2020-10-16 10:33:44 +02:00
Kino 22b086cc23 Remove ConcreteMessageType, handle the case where the messageKind is linkPreview 2020-09-19 16:43:41 -07:00
amir pirzad f08cdad1f4 Fix some issues 2020-09-02 22:28:24 +04:30
amir pirzad be2eea0b2d Fix center label 2020-08-30 18:24:38 +04:30
amir pirzad ad28df1486 Use property 2020-08-30 18:20:32 +04:30
amir pirzad d4f0defa1c Use system color 2020-08-30 18:14:38 +04:30
amir pirzad c0a659daa3 Change to better check 2020-08-30 02:14:47 +04:30
amir pirzad 72c4c2140e Change text color for dark mode 2020-08-30 01:48:43 +04:30
amir pirzad 404f3ad332 Add boolean for enable/disable display time 2020-08-28 17:21:00 +04:30
amir pirzad 216d26baec Add message time label 2020-08-28 16:27:50 +04:30
Kino RoyandGitHub 02b03f3c26 Merge branch 'development' into link-preview-support 2020-06-30 10:42:28 -07:00
Martin PúčikandGitHub 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 RoyandGitHub 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
Jakub KašparandGitHub 740a0c9def Merge branch 'development' into link-preview-support 2020-04-06 17:24:21 +02:00
Travis Chapman 16a51800fa fix typo rigt vs right 2020-04-04 13:49:54 -06:00
Bruno Guidolim fd7665be8c Adds delegate method to configure LinkPreview's image view. 2020-04-04 19:19:35 +02:00
Bruno Guidolim 474af4f0cc Refactoring to support font customization on LinkPreview type. 2020-04-04 17:59:07 +02:00
Bruno Guidolim 99d0719224 Add LinkPreview support to MessageKit 2020-04-04 16:55:50 +02:00
Travis Chapman bd193d9f7f fix spelling typo and rename UIImage extension filename 2020-03-31 18:30:58 -06:00
Austin Wright 9add67a040 Adjusted the logic back to gesture.location(in:
- Passed in the correct view so that the location is in the same view context as the condition
- Changed imageView back to frame. It doesn't really make a difference in the Example, since the container is the same size and at the same origin as the imageView. However, just in case a framework user does something different than the example (like offsetting the imageView), frame is the safer bet.
- Update podfile to point to the latest InputBarAccessoryView & use cocoapods 1.9.0
2020-03-17 01:03:43 -04:00