27 Commits
Author SHA1 Message Date
Kino RoyandGitHub 02b03f3c26 Merge branch 'development' into link-preview-support 2020-06-30 10:42:28 -07: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 c85a255c48 Added test for LinkPreviewMessageCell and entry to the Changelog. 2020-05-10 13:02:52 +02:00
Vlada Radchenko db27093302 dark mode support 2019-10-01 18:30:48 +03:00
subdiox 223205381f fix .audio for test 2019-02-27 11:26:30 +09:00
Nathan Tannar 2f1c0e53ce Bump copyright year 2019-02-21 20:53:23 -08:00
Nathan Tannar 94d121bc00 Merge remote-tracking branch 'origin/3.0.0-beta' into sender-protocol 2019-02-19 00:07:50 -08:00
Nathan Tannar 308eb6bffe Update Test Cases 2018-11-25 21:27:33 -08:00
Iosif Moldovan 8130c6e0f5 Merge branch 'development' of https://github.com/MessageKit/MessageKit into tagonsoft_development
# Conflicts:
#	CHANGELOG.md
2018-11-16 13:19:37 +02:00
Aleph Retamal be91c62393 Merge remote-tracking branch 'origin/master' into HEAD 2018-11-04 11:05:52 +11:00
Aleph RetamalandSteven Deutsch 6f04569369 Move test to Quick/Nimble (#924)
Moved **testMessageCollectionView_hasMessageCollectionFlowLayoutAfterViewDidLoad** to MessagesViewControlerSpec.swift and removed a duplication of this test
2018-11-01 22:35:38 -05:00
Aleph Retamal 7465fff120 Removed repeated test
On MessagesViewControllerTests.swift there was a test verifying if the delegate and datasorce were the same object. A similar test can be found on MessagesViewController.spec, so I removed it
2018-10-31 10:43:30 +11:00
Iosif Moldovan 2e6c76f061 rename AudioControllerDelegate method 2018-10-17 10:19:19 +03:00
Iosif Moldovan 09907c10bd add test case for check return of audio message cell 2018-10-04 12:40:12 +03:00
Nathan Tannar 9a2affcd6f Update to Swift 4.2 2018-09-29 11:45:50 -07:00
Iosif Moldovan de2905ea55 update MessageKit framework and tests to swift 4.2 2018-09-27 16:54:18 +03:00
Steven DeutschandWu Zhong 07c0e58597 Remove the limitation of 1 cell to 1 section (#601)
* Add numberOfSections delegate method

* Remove numberOfMessages(in) and add other two substitution methods

* Fix tests failure
2018-03-29 13:16:32 +08:00
Alessio Arsuffi faa4f92d1d LocationMessageSnapshotOptions public
Added public init and public accessors for
LocationMessageSnapshotOptions;
added test also;
2018-01-10 12:01:59 +01:00
Steven Deutsch b24d8bcff2 Fix failing tests 2017-12-10 14:22:48 -06:00
Steven Deutsch 62e1c1c72f Add MessagesViewControllerTests stubs and convert some tests 2017-12-07 21:07:04 -06:00
Steven Deutsch 5ac13b937f Refactor MessagesViewControllerTests to use Quick/Nimble 2017-12-02 00:25:13 -06:00
Steven Deutsch 1f13555158 Fix failing unit tests from #363 2017-12-01 23:00:09 -06:00
Aleksandr Prianichnikov 5f61858127 Rename tests 2017-10-23 14:21:11 +03:00
Aleksandr Prianichnikov 672347e752 Resolve errors after merge & improve tests
- Improve tests for MessageInputBar
- Remove useless tests
2017-10-23 14:17:53 +03:00
Aleksandr Prianichnikov 4de7ea2c62 Rename methods and remove useless code 2017-10-11 12:52:26 +03:00
Aleksandr Prianichnikov 00a470c9c6 Add and refactor tests for MessageViewController 2017-10-10 19:17:53 +03:00
Aleksandr Prianichnikov b486cc45bf Add tests for MessagesViewController 2017-10-10 19:17:53 +03:00