160 Commits

Author SHA1 Message Date
Jakub Kaspar 6bb47d5af5 Remove plugins that caused issues, migrate to swift 6 2024-10-30 07:49:27 +01:00
Roman Podymov 6bb8586777 From yokochi/MessageKit/pull/1 2023-10-20 17:45:51 +02:00
Mahmudul Hasan f43a0f4d82 Changed 'didChangeStatusBarOrientationNotification' to 'UIDevice.orientationDidChangeNotification' due to deprecation. 2022-09-08 17:57:58 +06: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
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
martinpucik ccad74807b feat: MessagesLayoutDelegate methods for Top/Bottom message label alignments 2022-02-03 18:56:17 +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
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
Jakub Kaspar 793dce6894 Fix typing indicator calulator based on delegate methods 2021-03-25 11:37:52 +01:00
Kino 22b086cc23 Remove ConcreteMessageType, handle the case where the messageKind is linkPreview 2020-09-19 16:43:41 -07:00
Pavel Tikhonenko af2f9cd96a Fix compilation issues by importing UIKit 2020-09-08 21:48:41 +03:00
Jakub Kašpar d80dc20587 Merge branch 'development' into development 2020-09-03 10:32:08 +02:00
amir pirzad f08cdad1f4 Fix some issues 2020-09-02 22:28:24 +04:30
Bruno Guidolim 20c6044f59 Fixes #1446 - Added LinkPreview calculator into the list of default calculators. 2020-08-31 10:15:25 +02:00
amir pirzad 8f17474b84 Remove unused code 2020-08-30 01:48:58 +04:30
amir pirzad 216d26baec Add message time label 2020-08-28 16:27:50 +04:30
Kino Roy 02b03f3c26 Merge branch 'development' into link-preview-support 2020-06-30 10:42:28 -07:00
Martin Púčik 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
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
Nathan Tannar a73cb9f17f Merge branch 'development' into fix-orientation-notification 2019-07-08 20:19:30 -07:00
Bruno Guidolim ff704fb78f Set the proper notification to invalidate layout. 2019-07-03 08:37:15 +02:00
Marc Etcheverry 4dd25258a9 Add missing cellTopLabelAlignment to MessageSizeCalculator 2019-06-26 11:58:03 -07:00
Nathan Tannar 8cc96d71a2 Merge remote-tracking branch 'origin/3.0.0-beta' into typingIndicatorView 2019-04-05 00:11:14 -07:00
Iosif Moldovan cdedd2bf8c apply code review 2019-04-04 15:09:59 +03: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
Nathan Tannar d81430c78d Work around for crashes some users are reporting 2019-04-01 00:40:04 -07:00
Iosif Moldovan 9fa69e7e59 Apply code review 2019-03-30 11:12:02 +02:00
Nathan Tannar 5f405f2d14 Add indexpath empty check 2019-03-26 12:29:43 -07:00
Nathan Tannar 2138b3ba5d Small changes to try and fix crash 2019-03-26 12:20:11 -07:00
Nathan Tannar 488e501ef3 Invalidate layout before batch updates 2019-03-26 00:17:16 -07:00
Nathan Tannar 8386755c1e Undo hot fix 2019-03-23 23:47:46 -07:00
Nathan Tannar 54bd08e91f Protect index path from empty 2019-03-22 11:34:12 -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 4677ac2b29 Fix lint/tests 2019-03-01 00:39:01 -08:00
Nathan Tannar 54ceaa8c33 Fix content size 2019-03-01 00:29:08 -08:00
Nathan Tannar 085f563a91 Crunch some bugs 2019-03-01 00:01:43 -08:00
Nathan Tannar fa06818e74 Typing Indicator as a Supplementary View 2019-02-28 22:40:36 -08:00
subdiox 7936d1ca43 fix conflict on merge 2019-02-27 09:39:36 +09:00
Nathan Tannar 2f1c0e53ce Bump copyright year 2019-02-21 20:53:23 -08:00
subdiox c9c8f356c4 fix duplicate modifier 2019-02-19 18:35:50 +09:00
subdiox cfacf94a52 fix for pull request 2019-02-19 18:30:52 +09:00
Nathan Tannar 971affc89d Merge pull request #892 from TAGonSoft/development
Add support for audio messages.
2019-02-19 00:06:00 -08:00
subdiox 31db3f9983 added AccessoryViewPosition parameter 2019-02-18 22:35:42 +09:00
Nathan Tannar d5b93a6562 Add Leading/Trailing padding to AvatarPosition (#944)
* Rework of avatar padding

* Use avatarLeadingTrailingPadding

* Undo edit in example

* Include changelog
2018-12-20 12:16:08 -06:00
Iosif Moldovan e51fcf3d53 Merge branch 'development' of https://github.com/MessageKit/MessageKit into tagonsoft_development
# Conflicts:
#	CHANGELOG.md
2018-11-27 17:18:41 +02:00