Commit Graph
64 Commits
Author SHA1 Message Date
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
Nathan Tannar 78c48fbf2d Merge remote-tracking branch 'origin/development' into accessoryview-updates 2018-10-11 21:32:02 -07: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 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
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
hyouuuandGitHub ee08f3c88f Merge pull request #1 from MessageKit/development
Merge from upstream
2018-06-26 19:07:41 -07:00
Steven Deutsch ca117642b0 Relax protocol requirements for get/set 2018-06-13 18:06:25 -05:00
Shawn Gong 7fde2fdc26 mimic avatar 2018-06-02 19:11:19 -07:00
Shawn Gong 3554e3fd24 Fix configCell stub cell type 2018-06-02 14:27:51 -07:00
Shawn Gong 9c23282d07 Add customizable accessoryView besides messageContainer 2018-06-02 02:10:51 -07:00
Steven Deutsch 3786989988 Add CHANGELOG entry 2018-04-26 03:11:45 -05:00
Steven Deutsch a6473c673e Rename cellBottomLabel 2018-04-26 02:51:41 -05:00
zhongwuzw 56418d2c70 Add cellTopLabel and rename topLabel to messageTopLabel 2018-04-16 18:40:58 +08:00
zhongwuzw 39986f0458 Renamed MessageData to MessageKind 2018-04-16 11:57:50 +08:00
Corey WaloandWu Zhong 6fcd2d6aa2 Only apply textColor for .text case of MessageData (#625)
* Only apply textColor for .text case of MessageData

* Update CHANGELOG

* Add name and PR #
2018-04-06 10:27:01 +08:00
Steven Deutsch bb1ea1d67e Remove failing tests 2018-04-03 13:45:52 -05:00
Steven Deutsch 1dc97fc38f Remove shouldDisplayHeader method 2018-04-03 13:24:43 -05:00
Steven Deutsch 911387edc1 Refactor header/footer API to remove indexPath 2018-04-03 13:24:43 -05:00
Steven Deutsch 9b8f0ba915 Remove CollectionViewReusable protocol 2018-04-03 13:24:43 -05:00
zhongwuzw d2ce5877f9 Transform CellSizeCalculator from protocol to class 2018-03-31 16:03:35 +08:00
Steven Deutsch 04bfb7c5d7 Document all protocols 2018-03-30 10:43:41 -05:00
zhongwuzw 87a0baa31b Add explicit access level && some comments 2018-03-29 23:13:08 +08: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
Steven Deutsch 17398a2cb2 Add hook to configure async media on cell 2018-03-27 01:28:14 -05:00
Steven Deutsch 66ed7a0817 Modify default behavior for insets and height 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
Steven Deutsch 86f9372d44 Add size calculators 2018-03-24 03:52:35 -05:00
Steven Deutsch 4e7b1b4eed Make CellSizeCalculator a protocol 2018-03-24 03:52:35 -05:00
Steven Deutsch f589debbd9 Fix example app 2018-03-24 03:52:35 -05:00
Steven Deutsch d342bc4b56 Add LocationItem protocol 2018-03-24 03:52:35 -05:00
Steven Deutsch 5707a3441f Add MediaItem protocol 2018-03-24 03:52:35 -05:00
Steven Deutsch 3c3b0a052f Add back shouldCacheAttributes 2018-03-24 03:52:35 -05:00
Steven Deutsch 30e6b105c7 Set label positions as properties of layout object 2018-03-24 03:52:35 -05:00
Alexander Momotiuk a77539288d Fix SwiftLint warnings #554 issue 2018-03-20 11:31:50 +02:00
Roodyn, Yishai (UK - London) c54b1c9a37 TransitInfoDetection - Added transitInfoDetection to message Label 2018-02-14 16:34:58 +00:00
zhongwuzw 6da545fa36 Fix typo 2018-01-25 11:12:19 +08:00
Wu ZhongandGitHub 2e9ff264a8 Merge pull request #459 from MessageKit/refactor/clean-up
Split MessagesViewController functionality & add MessageKitError
2018-01-14 16:54:13 +08:00
Steven Deutsch 148d138787 Merge branch 'master' into development 2018-01-11 23:35:20 -06:00
Steven Deutsch 810b58d88d Add MessageKitError to cleanup strings 2018-01-11 22:42:50 -06:00
Rich Gabrielli 1782b0b2a1 Change Copyright to "Copyright (c) 2017-2018 MessageKit" 2018-01-02 22:16:05 -05:00
Wu ZhongandSteven Deutsch b4aeea146c Add configureImageForAvatarView(::::) protocol to expose avatarView &… (#416)
* Add configureImageForAvatarView(::::) protocol to expose avatarView &&  remove avatar(:::)

* Refactor AvatarView && change configureImageForAvatarView's name to configureAvatarView

* Optimize code && fix tests

* Add CHANGELOG entry

* Revert "Add CHANGELOG entry"

This reverts commit 0124ab920b.
2017-12-21 16:52:04 -06: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 DeutschandGitHub 0af6454ad9 Merge pull request #391 from MessageKit/enhancement/remove-cells
Removing cell generic constraints
2017-12-11 13:38:03 -06:00
Steven Deutsch 691359c657 Remove generic constraint from MessageCollectionViewCell 2017-12-09 07:07:55 -06:00
Steven Deutsch a5de50a401 Add MessageLabel tests around detector attributes 2017-12-07 01:57:01 -06:00
Steven Deutsch 9bc218514b Add shouldCacheLayoutAttributes method 2017-11-30 15:45:47 -06:00