Dmitry Khudyakov
93511cad3b
Fix for overlapping detected matches
2024-07-13 20:57:10 +06:00
Roman Podymov
6bb8586777
From yokochi/MessageKit/pull/1
2023-10-20 17:45:51 +02:00
Martin Púčik and Jakub Kaspar
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
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
Vlada Radchenko
db27093302
dark mode support
2019-10-01 18:30:48 +03:00
Marc Etcheverry
0df7a937d5
Add support for styling NSLinkAttribute with existing urlAttributes.
2019-06-11 10:18:05 -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
7555e0ac16
Merge branch '3.0.0-beta' into CustomDetectorType
2019-02-28 19:21:38 -08:00
Nathan Tannar
2f1c0e53ce
Bump copyright year
2019-02-21 20:53:23 -08:00
Julien K
60c10d62f3
Merge remote-tracking branch 'upstream/development' into CustomDetectorType
2018-11-27 16:37:34 +01:00
Julien K
d238e09155
[Update]
2018-11-02 11:17:39 +01: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 K
8fb0600c12
Fix handleMention call
2018-10-31 20:40:23 +01:00
Julien 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
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
fa08526d09
Merge pull request #889 from monzo/bugfix/messagelabel-autolayout
...
fix intrinsic content size for MessageLabel
2018-10-05 12:18:56 -07:00
Marius Serban
6a2eef77a1
fix intrinsic content size for MessageLabel
2018-10-02 16:58:25 +01:00
Nathan Tannar
9a2affcd6f
Update to Swift 4.2
2018-09-29 11:45:50 -07:00
James Nicholson
e63d9a5337
Add support for embedded NSLinks for .url DetectorType
2018-08-07 17:22:59 +01:00
Steven Deutsch
9b2e785cdc
Merge branch 'master' of https://github.com/MessageKit/MessageKit into development
2018-04-29 13:12:27 -05:00
Austin Wright
95de21cbeb
https://github.com/MessageKit/MessageKit/issues/663
...
- Removed textOffset CGPoint
- Adjusted touch location offset calculation to use textInsets .left/.top directly
2018-04-25 21:20:59 -04:00
zhongwuzw
bdfb988590
Fixed font invalidation of attributedString in MessageLabel
2018-04-06 11:00:42 +08:00
zhongwuzw
f202228c60
Add CHANGELOG
2018-04-06 10:43:11 +08:00
zhongwuzw
1ee84a6862
Fix font invalid for attributedString
2018-04-05 23:36:04 +08:00
zhongwuzw
c82a7c0d1e
update access control
2018-03-30 12:49:31 +08:00
Steven Deutsch
c3bb03bd02
Add InsetLabel class
2018-03-24 03:52:35 -05:00
Steven Deutsch
4f2fd52465
Stop sizing cell labels to fit text
2018-03-24 03:52:35 -05:00
Alexander Momotiuk
a77539288d
Fix SwiftLint warnings #554 issue
2018-03-20 11:31:50 +02:00
Yishai
49a1904bf5
TransifInformation - Changed address back to addressComponents
2018-03-04 11:09:59 +00:00
Yishai
516f8e4152
TransitInformation - Updated handleTransitInfo method name and updated change log
2018-02-15 13:16:15 +00:00
Roodyn, Yishai (UK - London)
c54b1c9a37
TransitInfoDetection - Added transitInfoDetection to message Label
2018-02-14 16:34:58 +00:00
Wu Zhong
2e9ff264a8
Merge pull request #459 from MessageKit/refactor/clean-up
...
Split MessagesViewController functionality & add MessageKitError
2018-01-14 16:54:13 +08:00
zhongwuzw
71e644cf62
Fix tests error
2018-01-14 16:33:41 +08:00
Steven Deutsch
810b58d88d
Add MessageKitError to cleanup strings
2018-01-11 22:42:50 -06:00
Antoine Lamy
ad7479a813
Fix MessageLabel enabled detectors attributes ( #429 )
2018-01-03 13:59:59 -05:00
Rich Gabrielli
1782b0b2a1
Change Copyright to "Copyright (c) 2017-2018 MessageKit"
2018-01-02 22:16:05 -05:00
Steven Deutsch
435b053c8a
Revert change that attempts to sync MessageLabel properties
2017-12-16 21:07:15 -06:00
Steven Deutsch
6bdbe65139
Allow detector attributes to be set outside of the cell
2017-12-14 11:54:48 -06:00
Steven Deutsch
43bbe68e87
Fix MessageLabel font regression
2017-12-11 12:49:19 -06:00
Steven Deutsch
96db36e02c
Add test stubs for MessageLabelSpec
2017-12-07 14:58:21 -06:00
Steven Deutsch
a5de50a401
Add MessageLabel tests around detector attributes
2017-12-07 01:57:01 -06:00
zhongwuzw
95a32d693d
Optimize cell gesture handle logic
2017-12-07 09:52:07 +08:00
Steven Deutsch
86a269cc21
Disable detectors by default
2017-11-18 21:42:47 -06:00
Steven Deutsch
759a13103a
Add isConfiguring method
2017-11-18 21:37:10 -06:00
Steven Deutsch
8015253d5e
Reduce text parsing for setting non-text properties
2017-11-18 21:32:28 -06:00
Steven Deutsch
a5c5515774
Fix longpressgesture delegate typo
2017-11-18 21:15:31 -06:00
zhongwuzw
e61b09e682
refactor MessageLabel
2017-11-09 21:46:50 +08:00