135 Commits
Author SHA1 Message Date
Martin PúčikandGitHub c2cf1a27e8 Added new methods in MessagesLayoutDelegate for adjusting alignment of message top and bottom labels (#1671) 2022-02-08 09:03:30 +01:00
Ikko AshimineandGitHub 6a648e4c27 Fix typo in AudioMessageCell.swift
lable -> label
2021-11-20 01:33:48 +09:00
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
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
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
Mark Descalzo 003ab9c0ce Added missing textAlignment and textInsets assignments to layoutcellTopLabel method. 2019-06-27 09:58:08 -06: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 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 d19e7df997 Go back to using a reserved section method 2019-04-02 22:43:09 -07:00
Iosif Moldovan 9fa69e7e59 Apply code review 2019-03-30 11:12:02 +02: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
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
Nathan TannarandGitHub 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
jimijings11 8baa8706ea Update MediaMessageCell.swift
fixing reuse bug.
2019-02-15 21:01:33 +01:00
Nathan TannarandSteven Deutsch 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 7f855d20a3 pull out BasicAudioController from MessageKit framework 2018-12-15 12:44:33 +02:00