299 Commits
Author SHA1 Message Date
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
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
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
hyouuuandGitHub d4f8a466e0 rename to lastItemIndex 2020-02-18 14:17:44 -08:00
hyouuuandGitHub d1233de071 default pos to bottom 2020-02-17 01:27:07 -08:00
hyouuuandGitHub d36568e5ab Add scrollToLastItem 2020-02-17 00:31:52 -08:00
hyouuuandGitHub d0f32b0443 Merge pull request #1189 from Vlada31R/darkMode
Add support for dark mode
2020-02-16 22:28:45 -08:00
hyouuuandGitHub d3654c2c48 Merge pull request #1166 from domeniconicoli/master
Added delegate method for image tap action
2020-02-16 22:27:21 -08:00
Vlada Radchenko db27093302 dark mode support 2019-10-01 18:30:48 +03:00
Domenico 57af77527f Added image tapped delegate 2019-08-18 19:26:07 +02:00
Nathan TannarandGitHub 2029800578 Merge pull request #1110 from marcetcheverry/3.0.0-swift5-scrollToBottom
Fixes scrollToBottom method to properly handle calls made early in the view lifecycle
2019-07-07 19:01:13 -07:00
Nathan TannarandGitHub 7ac4156a35 Merge branch 'development' into 3.0.0-swift5-scrollToBottom 2019-07-07 18:38:30 -07:00
Nathan TannarandGitHub 27df461b23 Merge branch 'development' into layoutCellTopLabel_assignments 2019-07-07 18:34:26 -07:00
Nathan TannarandGitHub 1d8376f796 Merge branch 'development' into 3.0.0-swift5-NSLinkAttribute 2019-07-01 09:26:56 +08:00
Mark Descalzo 003ab9c0ce Added missing textAlignment and textInsets assignments to layoutcellTopLabel method. 2019-06-27 09:58:08 -06:00
Marc Etcheverry a0462c1598 Fix scrollToBottom not working properly in some cases 2019-06-25 14:05:27 -07:00
Marc Etcheverry 0df7a937d5 Add support for styling NSLinkAttribute with existing urlAttributes. 2019-06-11 10:18:05 -07:00
Marc Etcheverry c7c31d67b3 Address comments. 2019-06-11 09:42:32 -07:00
Marc Etcheverry 78757db1f8 Remove size constraint, ideally there woudl be a >= 0 from all edges just to be safe 2019-06-04 18:47:38 -07:00
Marc Etcheverry ba2e8264c7 Add loading indicator to audio message cell 2019-06-04 18:11:46 -07:00
Nathan Tannar bf421465b5 Fix lint violations 2019-04-11 11:59:24 -07:00
Nathan Tannar bdb11d25fc Cleanup / Add warnings / Prep for beta release 2019-04-05 00:35:21 -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 3f93702ff1 Merge branch '3.0.0-beta' into typingIndicatorView 2019-04-02 22:45:52 -07:00
Nathan Tannar d19e7df997 Go back to using a reserved section method 2019-04-02 22:43:09 -07:00