Commit Graph
672 Commits
Author SHA1 Message Date
Nathan Tannar 762f583d49 Refactor to see what SenderType would look like 2018-11-25 21:27:33 -08:00
Maxim TsvetkovandSteven Deutsch 32ecab3066 Enhancement/add another bottom label to the cell (#920)
* Rename cell bottom label stuff which actually conforms to message bottom label stuff

* Add cell bottom label methods for flow layout, data source and delegates

* Add vars for cell bottom label alignment and size

* Add cell bottom label into message content cell and set layout for label

* Set attributes for cell bottom label
Add cell bottom label attributes into calculation of cell content height

* Update example project to display cell bottom label

* Set avatar position to messageBottom in example project to display avatar with cell bottom label more pleasant  (cosmetic change)

* Revert "Set avatar position to messageBottom in example project to display avatar with cell bottom label more pleasant  (cosmetic change)"

This reverts commit d8d215518a.

* Fix comment to capitalize word

* Add cell bottom label after message bottom label in message content cell

* Update changelog

* Calculate Y position of cell bottom label as max Y position of message bottom label

* Move layout calculation of cell bottom label after layout calculation of message bottom label (because layout calculation of cell bottom label depends on layout calculation of message bottom label  now)

* Update breaking changes in changelog
2018-11-23 14:27:17 -06:00
Julien K d238e09155 [Update] 2018-11-02 11:17:39 +01:00
Iosif Moldovan cda82760d6 Merge branch 'development' of https://github.com/MessageKit/MessageKit into tagonsoft_development
# Conflicts:
#	CHANGELOG.md
2018-11-02 09:25:39 +02:00
Nathan TannarandGitHub 07f611daba Merge branch 'development' into patch-1 2018-11-01 16:43:45 -07:00
Julien K cf11471f06 Merge branch 'CustomDetectorType' of github.com:JulienKode/MessageKit into CustomDetectorType 2018-11-01 11:26:12 +01:00
Julien K 5593f5ebf7 Merge branch 'development' of https://github.com/MessageKit/MessageKit into CustomDetectorType 2018-11-01 10:46:27 +01:00
Julien KandGitHub 8fb0600c12 Fix handleMention call 2018-10-31 20:40:23 +01:00
Julien KandJulien K be571b0b17 [MessageLabel] Change privacy of properties and function to use allow people to use it in their own custom cell
Revert "[MessageLabel] Change privacy of properties and function to use allow people to use it in their own custom cell"

This reverts commit e902832887cc30c85910e059f58f1cf482a0c028.

[MessageLabel] Change privacy of properties and function to use allow people to use it in their own custom cell

[Update] Make handleGesture open

[Update]
2018-10-26 12:32:12 +02:00
Julien K 77e9ccda46 [DetectorType] add .mention, .hashtag and .custon() to detect your own pattern
[DetectorType] Put mention and hashtag as var

[CHANGELOG] Update

[DetectorType] Update to have at least 4 characters and more

[CHANGELOG] Update

[DetectorType]

[MessageLabel] run NSDataDetector once

[MessageLabel] Run NSDataDetector once

[Testing] Add testing and pass rangesOfDetectors as internal

[Refactoring]

[Filter] only .custom

[Examples]
2018-10-26 12:15:27 +02:00
Iosif Moldovan ce6ebb0f0b Merge branch 'development' of https://github.com/MessageKit/MessageKit into tagonsoft_development
# Conflicts:
#	Example/Sources/Data Generation/SampleData.swift
2018-10-26 09:33:45 +03:00
Nathan TannarandGitHub 3b3db11032 Merge pull request #879 from RealBonus/enhancement/customMessageKind
MessagesDataSource & MessagesLayoutDelegate methods for MessageType.custom
2018-10-25 18:02:46 -07:00
Pavel Anokhov eb848be3f0 Changelog and some comments 2018-10-19 16:32:46 +03:00
Iosif Moldovan 2e6c76f061 rename AudioControllerDelegate method 2018-10-17 10:19:19 +03:00
Marius SerbanandSteven Deutsch 4156260d93 allow dynamic avatar size per message size calculator (#898)
* allow dynamic calculation of avatar size

instead of having the same avatar size per size calculator, allow a subclass to override it so it can provide multiple avatar sizes depending on the message

* make sizing functions overridable by subclasses
2018-10-16 15:58:22 -05:00
Iosif Moldovan de8ba43a34 clean code and add tests for audio controller 2018-10-16 10:31:51 +03:00
Iosif Moldovan eae6aa1e5a Merge branch 'development' of https://github.com/MessageKit/MessageKit into tagonsoft_development
# Conflicts:
#	Example/Podfile.lock
#	Example/Sources/View Controllers/ChatViewController.swift
#	MessageKit.xcodeproj/project.pbxproj
#	Sources/Protocols/MessageCellDelegate.swift
2018-10-16 09:13:25 +03:00
Wu ZhongandGitHub aa734da840 Merge pull request #905 from talanov/development
Fix: Allow required initializator methods @ Views.
2018-10-14 23:04:39 +08:00
stanislav 648609d114 Fix: Allow required init coder @ MessageLabel, MessagesCollection, PlayButton Views, MessageContent, MessageCollectionView Cells, MessagesCollectionViewFlow Layout. 2018-10-14 17:45:57 +03:00
Nathan Tannar 197ec8b0d5 Final tweak to layout 2018-10-13 11:30:43 -07:00
Nathan Tannar 2e6de00785 Horizontal Padding only for accessoryView 2018-10-11 22:21:16 -07:00
Nathan Tannar 78c48fbf2d Merge remote-tracking branch 'origin/development' into accessoryview-updates 2018-10-11 21:32:02 -07:00
Iosif Moldovan ea4c123707 apply second review changes 2018-10-08 13:46:37 +03:00
Nathan TannarandGitHub fa08526d09 Merge pull request #889 from monzo/bugfix/messagelabel-autolayout
fix intrinsic content size for MessageLabel
2018-10-05 12:18:56 -07:00
Iosif Moldovan 84de5586c4 apply review changes 2018-10-05 13:00:46 +03:00
Julien K bc70b5bccc [Accessoryview] Fix 2018-10-04 16:43:56 +02:00
Iosif Moldovan 9ebcd8c9ab fix compute audio cell size in the advance example view controller 2018-10-04 12:39:40 +03:00
Iosif Moldovan a493493e0e Revert "fix configure audio cell"
This reverts commit da872d6d0a, reversing
changes made to cda9cfa470.
2018-10-04 10:09:55 +03:00
Iosif Moldovan da872d6d0a fix configure audio cell 2018-10-04 09:53:47 +03:00
Iosif Moldovan cda9cfa470 implement support for audio message 2018-10-03 17:20:01 +03:00
Iosif Moldovan 515b98ce45 partial development in add audio message support 2018-10-03 12:19:33 +03:00
Marius Serban 6a2eef77a1 fix intrinsic content size for MessageLabel 2018-10-02 16:58:25 +01:00
Pavel Anokhov 2aa9573c58 Better method names 2018-10-02 12:19:47 +03:00
Nathan Tannar 9a2affcd6f Update to Swift 4.2 2018-09-29 11:45:50 -07:00
Pavel Anokhov 485b4602af swiftlint 2018-09-27 14:32:47 +03:00
Nathan Tannar 406f700109 Minor edits 2018-09-25 23:04:15 -07:00
Nathan TannarandSteven Deutsch 230e067009 Integrate MessageInputBar as a dependency (#732)
* Remove MessageInputBar files and change build settings

* Conditional imports to allow for builds without MessageInputBar

* Update Cardfile

* Specify Version in Cartfile for MessageInputBar

* Remove conditional imports in favor of Carthage for local development

* Additional `import MessageInputBar`

* Remove `MessageInputBar` from Cartfile.private

* Bump MessageInputBar version

* Add Cartfile

* Tweak build settings

* Specify import of MessageInputBar for Carthage
2018-09-17 12:22:21 -05:00
Steven DeutschandGitHub 2d1fe72c7c Merge pull request #856 from p-petrenko/bugfix/issue-829-dev
Fix scrollsToBottomOnKeybordBeginsEditing typo (development branch)
2018-09-15 21:51:19 -05:00
Steven DeutschandGitHub 04c2369d32 Merge pull request #832 from maxxx777/enhancement/init-reusable-view-with-coder
Enhancement/init reusable view with coder
2018-09-15 18:23:20 -05:00
Maxim Tsvetkov ae68e19c3f Rename convenience method to register Reusable View from nib 2018-09-15 22:44:10 +02:00
Polina Petrenko 3bfeccd080 Fix a typo in scrollsToBottomOnKeybordBeginsEditing 2018-09-11 23:10:20 +03:00
Pavel Anokhov fe0a000fc5 MessagesDataSource & MessagesLayoutDelegate methods for MessageType.custom handling. 2018-09-08 11:16:42 +03:00
Nathan Tannar a3c7a2f062 Add delegate and adjust layout 2018-08-31 11:04:42 -07:00
Maxim Tsvetkov 6a81f5c7b2 Add convenience method to register Reusable View from nib 2018-08-31 00:29:16 +02:00
Maxim Tsvetkov a009e72be6 Add init with coder for MessageReusableView 2018-08-31 00:22:59 +02:00
Steven Deutsch 1be76220a5 Fix CHANGELOG 2018-08-15 10:50:50 -05:00
James Nicholson e63d9a5337 Add support for embedded NSLinks for .url DetectorType 2018-08-07 17:22:59 +01:00
Steven DeutschandGitHub f8894874cc Merge pull request #787 from andreyvit/keyboard-inset-fix-to-rule-em-all
Adjust contentInset for the keyboard frame properly
2018-08-07 09:33:05 -05:00
zhongwuzw 540f203f6a Fix insets calculation when present and dismiss vc && remove precision when compare double 2018-08-07 14:44:27 +08:00
Cory ImdiekeandGitHub 16761a01a5 Double the font size of emoji messages
Modifies the emoji size calculator to set a new font, which has a size that is double the size of the default font.
2018-08-02 15:34:52 -05:00