103 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
Jakub Kaspar 587a60f273 Fix example app 2024-10-30 07:12:16 +01:00
GitNirajHub 3dffe09b4f Added custom image masking 2024-08-29 00:12:16 +05:30
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
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 3b0ff01a09 Delete NSConstraintLayoutSet.swift 2022-04-30 10:25:32 +02:00
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
Martin Púčik 86cd13eafa Updated MessageKit.podspec to use resource_bundle instead of resources (#1460)
* Update MessageKit.podspec

Changed resources to resource_bundle

* Update CHANGELOG.md

* Update MessageKit.podspec

Update resource bundle getter for updated podspec bundle setting

* Update CHANGELOG.md

* Update CHANGELOG.md

Co-authored-by: Jakub Kašpar <kaspikk@gmail.com>
2020-10-06 10:08:59 +02: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
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
Kino Roy 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 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
Jakub Kaspar 5af92cf400 Move script to subfolder 2020-03-10 20:48:04 +01:00
Hamza Öztürk e440a04616 Merge pull request #1252 from kinoroy/fix-warnings
Fix compilation warnings
2020-02-20 21:19:39 +03:00
Kino d707b91e0e Fix improper MARK use warning 2020-02-19 16:18:41 -08:00
Kino Roy 5b5c5a225b Merge branch 'development' into apiAvailable 2020-02-17 13:46:13 -08:00
Kino 8f36baaf6f Fixes @available annotations to correctly report deprecation/obsoletion 2019-10-17 19:02:56 -07:00
Nathan Tannar bf421465b5 Fix lint violations 2019-04-11 11:59:24 -07:00
Nathan Tannar e679f7c0e8 Merge branch '3.0.0-beta' into development 2019-04-05 09:58:19 -07:00
Nathan Tannar 7a942711a6 Convert to Swift 5 / Fix Linting 2019-04-05 09:37:57 -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 3f93702ff1 Merge branch '3.0.0-beta' into typingIndicatorView 2019-04-02 22:45:52 -07:00
Marc Schultz 1aa4310a7e Fix issues with SwiftLint rules explicit_acl and explicit_top_level_acl 2019-03-30 20:57:46 +01:00
Iosif Moldovan 7a6f15f452 Merge branch '3.0.0-beta' of https://github.com/MessageKit/MessageKit into share_contact
# Conflicts:
#	Example/Sources/Data Generation/SampleData.swift
2019-03-30 11:25:06 +02:00
Nathan Tannar a4654372ef Merge pull request #913 from JulienKode/CustomDetectorType
[DetectorType][MessageLabel] Add custom, mention and hashtag detector type 👻
2019-03-24 17:39:48 -07:00
Nathan Tannar b542ac88ee Rename id to senderId in SenderType 2019-03-24 17:38:20 -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 085f563a91 Crunch some bugs 2019-03-01 00:01:43 -08:00
Nathan Tannar 7555e0ac16 Merge branch '3.0.0-beta' into CustomDetectorType 2019-02-28 19:21:38 -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
Nathan Tannar 94d121bc00 Merge remote-tracking branch 'origin/3.0.0-beta' into sender-protocol 2019-02-19 00:07:50 -08:00
subdiox 31db3f9983 added AccessoryViewPosition parameter 2019-02-18 22:35:42 +09:00
Iosif Moldovan 7f855d20a3 pull out BasicAudioController from MessageKit framework 2018-12-15 12:44:33 +02:00
Nathan Tannar 755d20e3da Cleanup / Add changelog 2018-11-25 21:33:07 -08:00
Nathan Tannar 762f583d49 Refactor to see what SenderType would look like 2018-11-25 21:27:33 -08:00
Julien K d238e09155 [Update] 2018-11-02 11:17:39 +01:00
Julien K 5593f5ebf7 Merge branch 'development' of https://github.com/MessageKit/MessageKit into CustomDetectorType 2018-11-01 10:46:27 +01:00
Julien K 77e9ccda46 [DetectorType] add .mention, .hashtag and .custon() to detect your own pattern
[DetectorType] Put mention and hashtag as var

[CHANGELOG] Update

[DetectorType] Update to have at least 4 characters and more

[CHANGELOG] Update

[DetectorType]

[MessageLabel] run NSDataDetector once

[MessageLabel] Run NSDataDetector once

[Testing] Add testing and pass rangesOfDetectors as internal

[Refactoring]

[Filter] only .custom

[Examples]
2018-10-26 12:15:27 +02:00
Iosif Moldovan ce6ebb0f0b Merge branch 'development' of https://github.com/MessageKit/MessageKit into tagonsoft_development
# Conflicts:
#	Example/Sources/Data Generation/SampleData.swift
2018-10-26 09:33:45 +03:00
Nathan Tannar 3b3db11032 Merge pull request #879 from RealBonus/enhancement/customMessageKind
MessagesDataSource & MessagesLayoutDelegate methods for MessageType.custom
2018-10-25 18:02:46 -07:00
Iosif Moldovan de8ba43a34 clean code and add tests for audio controller 2018-10-16 10:31:51 +03: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