189 Commits
Author SHA1 Message Date
hamzaozturk e5bc7627bd Settings aded to enable/disable message types. 2018-10-23 11:04:00 +03:00
Nathan Tannar b3950af79a Correct AccessoryView Size in Example 2018-10-13 15:31:04 -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
hamzaozturk d62d9b4407 isLastSectionVisible method returns wrong results for the BasicExampleViewController. Moreover, there is an easier method to find the visible section.
It is unnecessary to scroll to the bottom when title view updated.
2018-10-08 16:50:46 +03:00
Nathan Tannar d806da72e0 Update Example to Swift 4.2 2018-09-29 12:24:01 -07: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
Polina Petrenko 3bfeccd080 Fix a typo in scrollsToBottomOnKeybordBeginsEditing 2018-09-11 23:10:20 +03:00
Nathan Tannar a3c7a2f062 Add delegate and adjust layout 2018-08-31 11:04:42 -07:00
Nathan Tannar 00909055be Make requested changes from @zhongwuzw 2018-08-21 14:29:53 -07:00
Nathan Tannar b82aeec995 Remove Random.swift, add more examples 2018-08-12 13:56:16 -07:00
Nathan Tannar 5de6481e96 All-New ChatExample App 2018-08-11 21:57:34 -07:00
Steven Deutsch da54655eab Add another entry and update example 2018-04-26 03:18:55 -05:00
Steven Deutsch 02805c748a Fix cellContentHeight calculations 2018-04-20 03:40:37 -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
Steven Deutsch 4422020347 Merge branch 'master' of https://github.com/MessageKit/MessageKit into development 2018-04-11 16:11:35 -05:00
zhongwuzw cda394a297 Update Example swiftlint config 2018-04-11 23:43:41 +08:00
Changnam Hong 943ed2d899 Fix ChatExample for SwiftLint
1. Set .swiftlint.yml for ChatExample
2. Fix Access Control for Explicit Top Level ACL Violation
3. Fix SwiftLint Warning: Colon Violation, Function Body Length
4. Fix Forced Unwrapping style
2018-04-09 23:51:08 +09:00
zhongwuzw 1ee84a6862 Fix font invalid for attributedString 2018-04-05 23:36:04 +08:00
Steven Deutsch 1dc97fc38f Remove shouldDisplayHeader method 2018-04-03 13:24:43 -05: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 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 a9af5290c8 Remove double import 2018-03-24 03:52:35 -05:00
Steven Deutsch f589debbd9 Fix example app 2018-03-24 03:52:35 -05:00
Steven Deutsch bd1f7e3dbd Remove deprecations from example app 2018-03-24 03:52:35 -05:00
Yishai c5c4bd4c86 TransitInformation - Updated tests and example project 2018-02-15 09:53:43 +00:00
Steven Deutsch e6b08ea64c Open up custom cell API and split into files 2018-01-28 13:04:54 -06:00
Federico Zanetello cdfbd0bb3e Remove unnecessary playground 2018-01-19 21:24:29 +07:00
Federico ZanetelloandGitHub d8cf90d123 Refactor initals to initials 2018-01-19 13:08:56 +07:00
Federico ZanetelloandGitHub cf0f86396f Fix Contributors Typo 2018-01-19 11:23:49 +07:00
Alessio ArsuffiandGitHub 370c7c6e79 Feature/mock messages count settings (#458)
* Added UserDefaults Extension

to easily save and fetch settings values;

* added messages to fetch in settings

Added mock messages count to fetch in settings;

* Reverted to com.messagekit.ChatExample

* Fix copyright

* fix copyright

* fix copyright 2

* removed unused mark & fix init(coder:)

* remove unused cell height reference
2018-01-14 19:43:25 +01: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
zhongwuzw 077b884e15 code clean && recover message handle logic 2018-01-14 16:02:00 +08:00
Steven Deutsch 148d138787 Merge branch 'master' into development 2018-01-11 23:35:20 -06:00
Steven Deutsch 4a8d08e9e3 Separate MessagesViewController functionality into files 2018-01-11 22:19:38 -06: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
Rich Gabrielli 1782b0b2a1 Change Copyright to "Copyright (c) 2017-2018 MessageKit" 2018-01-02 22:16:05 -05:00
Nathan Tannar ac3093e54b Support for parsing components in the NSAttributedSting 2017-12-25 16:30:44 -08:00
Nathan Tannar 959b34eafd attributedText in Example 2017-12-23 10:06:01 -08:00
Nathan Tannar 611c71dd8a Image Paste Support for InputTextView 2017-12-22 20:16:16 -08: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 DeutschandGitHub ec89a663e0 Merge branch 'development' into refactor/cell-configure 2017-12-17 21:34:48 -06:00
Steven Deutsch 9d8edd1298 Add CHANGELOG entry for #414 2017-12-17 21:18:11 -06:00
Steven Deutsch 7252651821 Fix attributedText messageLabelFont bug 2017-12-17 20:54:22 -06:00
Steven Deutsch 1d4db92fa7 Add CHANGELOG entry for #284 2017-12-16 23:50:06 -06:00
Steven DeutschandGitHub 7ac0324c4d Merge branch 'development' into enhancement/load-more-messages-and-maintain-scroll-position 2017-12-16 23:26:18 -06:00
Steven Deutsch 471d8b1e50 Add CHANGELOG entry for #340 2017-12-16 23:14:29 -06:00