Merged
Conversation
…he change of the height of the keyboard
Remove hack code in tests
Update swiftlint conf to exclude unneeded sorces
update Example podfile :path value
Optimize cell gesture handle logic
Moving the test suite to Quick/Nimble
Fix messageLabel layout issue
Allow detector attributes to be set outside of cell
Resize imageMask instead of reapplying style
Fix scroll to bottom instead of scroll to bottom bubble
Revert change that attempts to sync MessageLabel properties
Fix to scroll when the height of the keyboard has changed
…intain-scroll-position
…-and-maintain-scroll-position Enhancement/load more messages and maintain scroll position
Fix attributedText messageLabelFont bug
Revert to old cell configure API and fix #407
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
TODO:
[Prerelease] 0.12.0
Added
Added
reloadDataAndKeepOffset()method toMessagesCollectionViewto maintain the current positionwhen reloading data.
#284 by @azurechen.
Added
maintainPositionOnKeyboardFrameChanged: Boolproperty to maintain the current position of theMessagesCollectionViewwhen the height of theMessageInputBarchanges.#340 by @KEN-chan.
Added
detectorAttributes(for:and:at:)method toMessagesDisplayDelegateallowingDetectorTypeattributes to be set outside of the cell.
#397 by @SD10.
Fixed
Fixed
indexPathForLastItembug whennumberOfSectionsequal to 1.#395 by @zhongwuzw.
Fixed
scrollToBottom(animated:)not work in some situations.#395 by @zhongwuzw.
Fixed
.attributedText(NSAttributedString)messages that were not using thetextColorfrom theMessagesDisplayDelegatemethod.#414 by @SD10.
Fixed a bug where new messages using
.attributedText(NSAttributedString)have the incorrect font.#412 by @SD10.
Changed
Breaking Change The
MessageLabelpropertiesaddressAttributes,dateAttributes,phoneNumberAttributes,and
urlAttributesare now read only. Please usesetAttributes(_:detector:)to set these properties.#397 by @SD10.
Breaking Change Removed the generic constraint
<ContentView: UIView>fromMessageCollectionViewCell.#391 by @SD10.
Breaking Change The
contentViewproperty has been renamed toimageViewforLocationMessageCellandMediaMessageCelland
messageLabelforTextMessageCell.#391 by @SD10.
Breaking Change Changed the name of
MessageInputBar's propertymaxHeighttomaxTextViewHeightas the property is the max height theInputTextViewcan have, not theMessageInputBaritself.#380 by @nathantannar4.
Breaking Change Adds a new view
contentViewof typeUIViewto the MessageInputBar to hold the main subviews of theMessageInputBar. Reduces complexity of constraints for easier testing/debugging.#384 by @nathantannar4.
Removed
scrollsToBottomOnFirstLayoutflag ofMessagesViewController.#395 by @zhongwuzw.