Commit Graph

116 Commits

Author SHA1 Message Date
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
Steven Deutsch 1dc97fc38f Remove shouldDisplayHeader method 2018-04-03 13:24:43 -05:00
Steven Deutsch 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 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
Alessio Arsuffi 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
zhongwuzw 077b884e15 code clean && recover message handle logic 2018-01-14 16:02:00 +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
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 Zhong 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 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 Deutsch 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
Steven Deutsch 5aecc22b61 UpdatemaintainPositionOnKeyboardFrameChange 2017-12-16 22:53:10 -06:00
Steven Deutsch 4aebd5826c Merge branch 'development' into fix-338 2017-12-16 22:51:46 -06:00
Steven Deutsch 435b053c8a Revert change that attempts to sync MessageLabel properties 2017-12-16 21:07:15 -06:00
Steven Deutsch deb8754784 Merge branch 'development' into enhancement/attributes-delegate 2017-12-14 12:11:32 -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 769dc7477a Merge pull request #395 from zhongwuzw/fix-scroll-to-bottm
Fix scrollToBottom && remove scrollsToBottomOnFirstLayout
2017-12-12 02:49:59 -06:00
Steven Deutsch 0af6454ad9 Merge pull request #391 from MessageKit/enhancement/remove-cells
Removing cell generic constraints
2017-12-11 13:38:03 -06:00
zhongwuzw 97c2401ffe Fix scrollToBottom && remove scrollsToBottomOnFirstLayout 2017-12-11 15:20:59 +08:00
Steven Deutsch 9eff91b0fc Fix modified reuse identifier 2017-12-10 14:08:45 -06:00
Steven Deutsch 691359c657 Remove generic constraint from MessageCollectionViewCell 2017-12-09 07:07:55 -06:00
Nathan Tannar 6666b0ff21 Removed Unneeded Code 2017-12-08 12:22:29 -08:00
Nathan Tannar 8604d341e2 Typos and Corrections 2017-12-07 11:43:07 -08:00
Nathan Tannar 407ac37d05 Example Updates to show topStackView example/test 2017-12-06 20:10:03 -08:00
Steven Deutsch 444fbb0f8e cellTopLabel and cellBottomLabel size calculations 2017-12-04 17:30:23 -06:00
zhongwuzw 248e6d9a06 Optimize DateFormatter to static variable 2017-12-01 23:28:26 +08:00
Steven Deutsch 3759610cfa Remove different delegates for different message types 2017-11-30 15:15:49 -06:00
KEN-chan 8dbcddf285 Add a flag that the user can determine whether scrolls according to the change of the height of the keyboard 2017-11-11 18:49:32 +09:00
Steven Deutsch 0390f81608 Merge pull request #325 from zhongwuzw/master
Fix MessageInputBar layout issues && code optimize
2017-11-10 20:31:16 -06:00
Steven Deutsch 619a5bbd3d Fix compile error in example app from deprecation 2017-11-07 04:12:08 -06:00
zhongwuzw 413ff9972c Fix keyboard not dismiss on iOS9 2017-11-07 14:59:16 +08:00
zhongwuzw 117dd63fe0 Fix MessageInputBar layout issues && code optimize
1. Fix ambiguous layout issues when MessageInputBar run layoutIfNeeded
method before added to superview.
2. Just reload new added message when click send button.
3. Change class-only protocols declaration.
4. Change placeholderLabel’s centerX、centerY priority because we need
satisfy left/right、top/bottom constraint first .
2017-11-03 23:01:18 +08:00
azurechen 85550aba79 Remove refreshControl in MessageCollectionView. 2017-10-28 21:37:53 +08:00
azurechen a675650eab Replace reloadData by a new method reloadAndMaintainOffset. 2017-10-26 23:28:14 +08:00
azurechen d17b500566 Update the example. 2017-10-26 02:26:33 +08:00
Nathan Tannar acda182df8 Merge pull request #280 from MessageKit/misc/iPhoneXLayoutSupport
Misc/i phone x layout support
2017-10-23 21:49:50 -07:00
Nathan Tannar a8b54f8868 Better iPhone X Support with SafeLayout Anchors 2017-10-23 15:15:23 -07:00
Nathan Tannar e308d81b2b Styled up Example!!! 2017-10-21 01:12:14 -07:00
Steven Deutsch 8de82032fc Merge pull request #258 from evilmint/fixes-call-on-ui-thread-in-example
Fixes ui call on non-main event
2017-10-14 14:20:19 -05:00
Aleksander Lorenc 07e86afd6f Fixes ui call on non-main event 2017-10-14 13:53:43 +02:00
Steven Deutsch bd4326356e Fixes #243 by deprecating addiontalTopContentInset 2017-10-09 20:32:43 -05:00
Tapan Prakash 6f99fb3a5f Fix #221 scroll to bottom is not working in sample app 2017-10-04 19:04:02 +05:30