Commit Graph
157 Commits
Author SHA1 Message Date
Zandor Smith 83d652e375 Set typing indicator hidden inside performBatchUpdates to prevent flow layout from requesting message type from DataSource for typing indicator section. 2023-07-10 21:29:49 +02:00
Roman Podymov 99b71d0e84 Collection View Height 2022-08-22 09:44:43 +02:00
Martin PúčikandGitHub 14dd6aa335 Fix SwiftPM plugins (#1732)
* fix: SwiftPM plugins

* fix: SwiftPM plugins

Added swiftlint command line plugin

* fix: SwiftPM plugins

Try makefile for CI runs

* fix: SwiftPM plugins

Try makefile for CI runs

* fix: SwiftPM plugins

Try swiftlint bin from SwiftPM

* fix: SwiftPM plugins

Resolve spm before running danger lint

* fix: SwiftPM plugins

Resolve spm before running danger lint

* fix: SwiftPM plugins

Changelog

* fix: SwiftPM plugins

Test failures reporting on CI

* fix: SwiftPM plugins

Test failures reporting on CI

* fix: SwiftPM plugins

Test failures reporting on CI

* fix: SwiftPM plugins

Revert failing code

* fix: SwiftPM plugins

Revert failing code

* fix: SwiftPM plugins

Cleanup unused files

* fix: SwiftPM plugins

Makefile setup for git hooks
2022-07-31 14:37:07 +02:00
Jakub Kaspar 82bfa7b1f6 Merge branch 'main' into fixWarnings
# Conflicts:
#	CHANGELOG.md
#	Sources/Controllers/MessagesViewController+TypingIndicator.swift
#	Sources/Views/Cells/LocationMessageCell.swift
2022-07-25 10:48:34 +02:00
bff35fda61 Added Swiftlint and Swiftformat plugins (#1729)
* build: Swiftlint plugin

* build: Swiftformat plugin

* build: Swiftformat plugin

* build: Swiftformat bash command

* style: Swiftformat rules

* style: Swiftformat applied to codebase

* style: Ignore Tests for Swiftlint

* Update bundler

* Update changelog and migration guide

* style: Ignore Example for Swiftlint

* chore: Changelog

* Update Xcode version for ci_pr_tests.yml

* Update ci_pr_framework.yml

* Update ci_pr_example.yml

* chore: Changelog

Co-authored-by: Jakub Kaspar <kaspikk@gmail.com>
2022-07-25 08:46:14 +00:00
Jakub Kaspar 68f74f2890 Fix warnings about deprecated methods in iOS 13 2022-07-24 22:41:53 +02:00
Martin PúčikandGitHub 6244308bff Observe inputBar frame change to update collectionView bottom inset (#1726)
* feat: Update bottom inset on InputBar frame  change

* feat: Update bottom inset on InputBar frame  change

Delay textview did begin editing notification for scroll to bottom to work

* feat: Update bottom inset on InputBar frame  change

Remove unnecessary presentedController check

* feat: Update bottom inset on InputBar frame  change

Docu

* feat: Update bottom inset on InputBar frame  change

Changelog
2022-07-20 16:26:54 +02:00
Martin PúčikandGitHub fe1c415b20 Update chat bottom inset after input bar size change (#1725)
* fix: Update chat bottom inset after input bar size change

* fix: Update chat bottom inset after input bar size change

Changelog update
2022-07-19 13:54:05 +02:00
Jakub Kaspar 68dc85aeac Fix changelog and warning 2022-05-10 17:00:07 +02:00
Jakub Kaspar 1fc00de76a Add swiftlint config, fix iOS 13 deprecation 2022-05-10 16:52:02 +02:00
Martin PúčikandGitHub 0e95375b21 Added a way to change messageInputBar to a custom view (#1707)
* chore: Fix Example controllers presentation

* feat: MessageInputBarKind
2022-05-06 13:04:37 +00:00
Martin PúčikandGitHub 7d66a982ad Updating messagesCollectionView's bottom inset and content position on inpuBar height change (#1705)
* refactor: InpuBar height change behavior

* refactor: InpuBar height change behavior

Changelog
2022-05-05 14:03:22 +00:00
martinpucik aef7eccaba refactor: InpuBar as subview instead of accessoryView
Updated InputBarAccessoryView version to 6.0.0
2022-05-05 11:44:46 +02:00
martinpucik 859e9c29f9 refactor: InpuBar as subview instead of accessoryView
Move typing indicator methods to extension
2022-05-04 17:48:06 +02:00
martinpucik 4ab430c7b1 refactor: InpuBar as subview instead of accessoryView
Cleanup of commented and not used code
Moved some internal properties to state object
Removed iOS 13 available checks
2022-05-04 16:44:27 +02:00
martinpucik dbbf45d2ee refactor: InpuBar as subview instead of accessoryView
Using KeyboardManager to handle input container view position on keyboard change
2022-05-03 14:47:13 +02:00
martinpucik 0709350393 refactor: InpuBar as subview instead of accessoryView
Basic keyboard observing from accessory view's observing view
2022-04-29 12:30:19 +02:00
tan zhixiangandGitHub 85486ba204 fix indention 2022-03-30 17:16:35 +09:00
Mehmet Baykar d0a89b345d Add overridable UIScrollView Delegate 2021-11-18 10:59:03 +01:00
Angel López Henquén 5e3ae8bee5 Issue #1624
Made "gestureRecognizerShouldBegin" function OPEN, to be able to overwrite it if necessary in ViewControllers which inherits from MessagesViewController.
2021-11-16 13:12:07 +01:00
Vignesh J d383863700 Resolved merge conflicts 2021-04-23 13:32:01 +05:30
Vignesh 0a5048864a Adding UICollectionViewCell delegation for non custom MessageType 2021-04-21 11:08:41 +05:30
Anton Karpechenkov ba61f6e74f updated target bottom offset of collection view despite the contentSize is smaller than viewport 2021-03-13 20:52:15 +01:00
Michael Redig af2ebb0794 (fix) Resolves #1531
chat messages don't suddenly disappear under translucent navigation bar headers
2021-03-03 19:49:39 -06:00
Jurvis Tan 4700259970 fix: remove unwanted bottom scroll indicator inset 2021-01-08 14:56:00 +08:00
Jakub Kaspar 6aa9b664b2 Fix warning in example project 2020-12-20 22:12:33 +01:00
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 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
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
hyouuuandGitHub 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 AboshandGitHub 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