771 Commits
Author SHA1 Message Date
Kino 2362616326 remove keyboard observers in viewWillDisappear 2020-09-30 22:42:10 -07:00
Kino 2fdc4f1a23 Adds clarifying access modifier 2020-09-20 00:41:22 -07:00
Kino 4eb6a9a0ce Add MIT License header 2020-09-20 00:29:43 -07: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šparandGitHub 0e27b921ca Update MessagesDataSource.swift 2020-09-04 11:15:27 +02:00
Jakub KašparandGitHub d80dc20587 Merge branch 'development' into development 2020-09-03 10:32:08 +02:00
amir pirzad c6bfdba900 Add document 2020-09-03 12:42:20 +04:30
amir pirzad d2b87770c9 Conform protocol 2020-09-02 22:47:11 +04:30
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 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 f04a89c764 Add removePanGesture method 2020-08-30 02:06:06 +04:30
amir pirzad 8f17474b84 Remove unused code 2020-08-30 01:48:58 +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
amir pirzad 57e77b0b3d Check pan gesture direction 2020-08-28 15:56:33 +04:30
amir pirzad ddfce2e724 Add pan gesture 2020-08-28 15:16:01 +04:30
Jakub Kaspar 99b6a3e9e5 Bump app and podspec 2020-08-26 22:38:29 +02:00
Kino f3769005b9 Fixes incorrect animation of cells during keyboard drag-dismiss 2020-08-10 21:49:29 -07:00
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 d6335042d6 Merge branch 'master' of https://github.com/isupremedyou/MessageKit 2020-04-04 13:50:30 -06: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
Jakub KašparandGitHub 83cda0ee9d Merge branch 'development' into master 2020-04-02 10:11:06 +02:00
Travis Chapman bd193d9f7f fix spelling typo and rename UIImage extension filename 2020-03-31 18:30:58 -06:00
martinpucik 176c6cdd28 documentation: Loading remote image messages in Example project 2020-03-20 13:56:20 +01:00
Jakub Kaspar 07fbb99705 Merge branch 'development' into cleanupSwift
# Conflicts:
#	Example/Podfile.lock
2020-03-17 23:07:11 +01:00
Jakub Kaspar d52d57cce6 Merge branch 'master' into development
# Conflicts:
#	Example/Podfile.lock
2020-03-17 22:54:01 +01: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
Bruno Guidolim 0865c1eb37 Fix of the fix :P - Also calling superclass method if it's not handled. 2020-03-12 17:58:51 +01:00
Bruno Guidolim d5c39b72ec Fix image view tap gesture handler. 2020-03-12 17:28:56 +01:00
Jakub Kaspar f59589331c Merge branch 'development' into cleanupSwift
# Conflicts:
#	Example/Podfile.lock
2020-03-12 09:51:14 +01:00
Jakub Kaspar df613292a0 Merge branch 'master' into development 2020-03-12 09:50:27 +01:00
Jakub Kaspar 5af92cf400 Move script to subfolder 2020-03-10 20:48:04 +01:00
Lewis SmithandGitHub e56f393c11 Fix for issue 1265
Change bubble circles to be same color as text

https://github.com/MessageKit/MessageKit/issues/1265

I don't understand why this problem is new, perhaps the bubbles were a lighter shade before.
2020-03-04 10:55:23 +00:00
Jakub Kaspar 26c38d512a Update example project 2020-02-28 15:17:23 +01:00
Jakub Kaspar bc7ba72a52 Drop iOS 9 and iOS 10 2020-02-28 15:13:14 +01:00
Jakub Kaspar d54464a851 Fix project version 2020-02-28 14:21:49 +01:00
Jakub Kaspar a2e06a396a Fix comments 2020-02-24 19:35:19 +01:00
Jakub Kaspar 905524dd12 Move UIColor extension to correct file 2020-02-24 19:03:51 +01:00