Commit Graph

131 Commits

Author SHA1 Message Date
martinpucik ee372e321c fix: maintainPositionOnKeyboardFrameChanged for small contentSize 2020-12-04 07:40:09 +01:00
martinpucik 1f2f7336c3 refactor: deprecated scrollToBottom() in favor of scrollToLastItem 2020-12-03 18:53:48 +01:00
Kino 2362616326 remove keyboard observers in viewWillDisappear 2020-09-30 22:42:10 -07:00
amir pirzad f08cdad1f4 Fix some issues 2020-09-02 22:28:24 +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 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
Kino f3769005b9 Fixes incorrect animation of cells during keyboard drag-dismiss 2020-08-10 21:49:29 -07: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 99d0719224 Add LinkPreview support to MessageKit 2020-04-04 16:55:50 +02:00
martinpucik 176c6cdd28 documentation: Loading remote image messages in Example project 2020-03-20 13:56:20 +01: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 a2e06a396a Fix comments 2020-02-24 19:35:19 +01:00
hyouuu 3dfd26e934 typo 2020-02-18 14:06:57 -08:00
Shawn Gong 8c76d5af4c Merge branch 'development' of https://github.com/hyouuu/MessageKit into development 2020-02-17 18:45:24 -08:00
Shawn Gong f6160fce22 Merge branch 'development' of https://github.com/MessageKit/MessageKit into development 2020-02-17 18:44:08 -08:00
Andrew Abosh 53afe4b04d Merge branch 'development' into master 2020-02-17 15:34:29 -05:00
Andrew Abosh fa0b2c3e44 Revert "Merge remote-tracking branch 'origin/development'"
This reverts commit 2e5479032e, reversing
changes made to fb4d9cc0e5.
2020-02-17 15:26:25 -05:00
Andrew Abosh 2e5479032e Merge remote-tracking branch 'origin/development' 2020-02-17 15:23:03 -05:00
hyouuu 4d0350e96c Check scrollsToLastItemOnKeyboardBeginsEditing and scroll on begin editing 2020-02-17 00:33:27 -08:00
hyouuu a3cb5aeaa6 Add scrollsToLastItemOnKeyboardBeginsEditing flag 2020-02-17 00:32:46 -08:00
hyouuu d0f32b0443 Merge pull request #1189 from Vlada31R/darkMode
Add support for dark mode
2020-02-16 22:28:45 -08:00
hyouuu 07d9c7788a Apply https://github.com/MessageKit/MessageKit/pull/1217 to dev 2020-02-16 22:05:43 -08:00
Andrew Abosh fb4d9cc0e5 Fixed requiredInitialScrollViewBottomInset not returning the correct value when inputAccessoryView is nil 2019-11-20 11:39:22 -05:00
Gwynant Jones d887d8541b [Hotfix] - Fix notifications being received from child modal view controllers.
We are receiving keyboard notifications from child modal view controllers, this
is a fix to ensure that this doesn't happen.
2019-11-20 14:00:53 +00:00
Vlada Radchenko db27093302 dark mode support 2019-10-01 18:30:48 +03:00
Marc Etcheverry fbc427f7a3 Lazily initialize the messageInputBar for those that don't want to use it. 2019-06-12 01:10:50 -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 bdb11d25fc Cleanup / Add warnings / Prep for beta release 2019-04-05 00:35:21 -07:00
Nathan Tannar a0f3ae3dad Merge pull request #1035 from xxjldh/3.0.0-beta
fix #1020 the inputbar overlaps the last message
2019-04-05 00:13:08 -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 d19e7df997 Go back to using a reserved section method 2019-04-02 22:43:09 -07:00
xxjldh 31220c91a3 fix #1020 the inputbar overlaps the last message 2019-04-01 21:12:27 +09: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 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 fa06818e74 Typing Indicator as a Supplementary View 2019-02-28 22:40:36 -08:00
Nathan Tannar e9b3a7065f Quick fix for #993 2019-02-28 22:33:27 -08:00
Nathan Tannar ede22c30bc Swap MessageInputBar for InputBarAccessoryView 2019-02-24 14:06:58 -08:00
Nathan Tannar f95d5e1647 Update inset on safe area change 2019-02-21 20:55:11 -08:00
Nathan Tannar 00f9f6e4c3 Expose selectedIndexPathForMenu 2019-02-21 20:54:09 -08:00
Nathan Tannar 2f1c0e53ce Bump copyright year 2019-02-21 20:53:23 -08:00