286 Commits
Author SHA1 Message Date
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
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
Iosif Moldovan 9fa69e7e59 Apply code review 2019-03-30 11:12:02 +02:00
Nathan Tannar c04fff5ba9 Remove space in folder name 2019-03-24 17:41:49 -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 fa06818e74 Typing Indicator as a Supplementary View 2019-02-28 22:40:36 -08:00
Nathan TannarandGitHub 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 cf7f096f29 Merge remote-tracking branch 'origin/3.0.0-beta' into 3.0.0-beta 2019-02-24 14:07:24 -08:00
Nathan Tannar 171cf89802 Typo cleanup for AudioMessageCell 2019-02-21 20:53:43 -08:00
Nathan Tannar 2f1c0e53ce Bump copyright year 2019-02-21 20:53:23 -08:00
Nathan TannarandGitHub 8cf7bbd03b Merge pull request #986 from jimijings11/master
Fix cell reusability for MediaMessageCell
2019-02-21 12:15:36 -08:00