17 Commits
Author SHA1 Message Date
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
Jakub Kaspar 9a492e916a Fix tests 2020-02-28 15:39:28 +01:00
Vlada Radchenko db27093302 dark mode support 2019-10-01 18:30:48 +03:00
Nathan Tannar b542ac88ee Rename id to senderId in SenderType 2019-03-24 17:38:20 -07: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
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
Nathan Tannar 9a2affcd6f Update to Swift 4.2 2018-09-29 11:45:50 -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
Polina Petrenko 3bfeccd080 Fix a typo in scrollsToBottomOnKeybordBeginsEditing 2018-09-11 23:10:20 +03:00
Rich Gabrielli 1782b0b2a1 Change Copyright to "Copyright (c) 2017-2018 MessageKit" 2018-01-02 22:16:05 -05:00
zhongwuzw c7a9ad6ec3 update tests code to remove scrollsToBottomOnFirstLayout check 2017-12-11 22:27:37 +08:00
Steven Deutsch 26ed8ea708 Refactor Avatar, Sender, & DetectorType tests 2017-12-07 21:42:55 -06:00
Steven Deutsch 62e1c1c72f Add MessagesViewControllerTests stubs and convert some tests 2017-12-07 21:07:04 -06:00
zhongwuzw c29cf4cb14 Remove hack code in tests 2017-12-04 09:50:54 +08:00
Steven Deutsch 9b8cad1e53 Fix failing test 2017-12-02 00:56:58 -06:00
Steven Deutsch 5ac13b937f Refactor MessagesViewControllerTests to use Quick/Nimble 2017-12-02 00:25:13 -06:00