Changelog History
Page 3
-
v0.13.5 Changes
April 26, 2018๐ Fixed
- ๐ Fixed
MessageLabel
touch location offset calculation. #664 by @austinwright.
- ๐ Fixed
-
v0.13.4 Changes
April 11, 2018๐ Fixed
๐ Fixed
bubbleTailOutline
invalidation of message bubble. #633 by @zhongwuzw.๐ Fixed
boundingRect(with:options:attributes:context)
wrong size calculation when use some font, e.g. custom font. #645 by @zhongwuzw.
-
v0.13.3 Changes
๐ Fixed
- ๐ Fixed font invalidation of
attributedString
inMessageLabel
. #623 by @zhongwuzw.
- ๐ Fixed font invalidation of
-
v0.13.2 Changes
โ Added
- โ Added
shouldManageSendButtonEnabledState
toMessageInputBar
to disable automatically managingMessageInputBar.sendButton
'sisEnabled
state when text changes. (Default value istrue
). #530 by @clayellis.
๐ Fixed
- ๐ Fixed wrong separated components in messageInputBar. #577 by @zhongwuzw.
- โ Added
-
v0.13.1 Changes
๐ Fixed
โก๏ธ Optimize
collectionView
scroll behavior when abruptly stops scrolling. #470 by @zhongwuzw.๐ Fixed
messageInputBar
sendButton not disabled in some situations. #475 by @zhongwuzw.๐ Fixed message bubble tail orientation invalidation in
iOS9
. #469 by @zhongwuzw.
-
v0.13.0 Changes
๐ Fixed
๐ Fixed message rendering when
MessagesViewController
sliding back. #454 by @zhongwuzw.๐ Fixed
iPhoneX
MessageInputBar
transparent bottom area whenkeyboardDismissMode
isinteractive
. #425 by @zhongwuzw.๐ Fixed wrong
contentInset
calculation whennavigationBar
ishidden
#444 by @zhongwuzw.
โ Added
โ Added
configureAvatarView(_ avatarView: AvatarView, for message: MessageType, at indexPath: IndexPath, in messagesCollectionView: MessagesCollectionView)
method inMessagesDisplayDelegate
protocol
to configureavatarView
. #416 by @zhongwuzw.โ Added copy support for image, text, and emoji messages. #418 by @zhongwuzw.
โ Added
UIImage
paste support to theInputTextView
. Images can easily be accessed using theInputTextView.images
property. โก๏ธ See the example project for an updated use case.
#423 by @nathantannar4.
โ Removed
- ๐ฅ Breaking Change Removed
avatar(for message: MessageType, at indexPath: IndexPath, in messagesCollectionView: MessagesCollectionView)
method ofMessagesDataSource
, useconfigureAvatarView(_ avatarView: AvatarView, for message: MessageType, at indexPath: IndexPath, in messagesCollectionView: MessagesCollectionView)
instead. #416 by @zhongwuzw.
๐ Changed
๐ฅ Breaking Change Moved the
handleTapGesture(_ gesture: UIGestureRecognizer)
method fromMessagesCollectionViewCell
toMessagesCollectionView
. #417 by @zhongwuzw.๐ฅ Breaking Change Changed
AvatarView
from typeUIView
to typeUIImageView
. #417 by @zhongwuzw.
-
v0.12.1 Changes
๐ Fixed
๐ Fixed
LocationMessageCell
reuse bug, to avoid inconsistency when get capture image asynchronously. #428 by @zhongwuzw.๐ Fixed
MessageLabel
detector attributes not being applied due to early exit. #429 by @antoinelamy.
-
v0.12.0 Changes
โ Added
โ Added
reloadDataAndKeepOffset()
method toMessagesCollectionView
to maintain the current position when reloading data. #284 by @azurechen.โ Added
maintainPositionOnKeyboardFrameChanged: Bool
property to maintain the current position of theMessagesCollectionView
when the height of theMessageInputBar
changes. #340 by @KEN-chan.โ Added
detectorAttributes(for:and:at:)
method toMessagesDisplayDelegate
allowingDetectorType
attributes to be set outside of the cell. #397 by @SD10.
๐ Fixed
๐ Fixed
indexPathForLastItem
bug whennumberOfSections
equal to 1. #395 by @zhongwuzw.๐ Fixed
scrollToBottom(animated:)
not work in some situations. #395 by @zhongwuzw.๐ Fixed
.attributedText(NSAttributedString)
messages that were not using thetextColor
from theMessagesDisplayDelegate
method. #414 by @SD10.๐ Fixed a bug where new messages using
.attributedText(NSAttributedString)
have the incorrect font. #412 by @SD10.
๐ Changed
๐ฅ Breaking Change The
MessageLabel
propertiesaddressAttributes
,dateAttributes
,phoneNumberAttributes
, andurlAttributes
are 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
contentView
property has been renamed toimageView
forLocationMessageCell
andMediaMessageCell
andmessageLabel
forTextMessageCell
. #391 by @SD10.๐ฅ Breaking Change Changed the name of
MessageInputBar
's propertymaxHeight
tomaxTextViewHeight
as the property is the max height theInputTextView
can have, not theMessageInputBar
itself. #380 by @nathantannar4.๐ฅ Breaking Change Adds a new view
contentView
of typeUIView
to the MessageInputBar to hold the main subviews of theMessageInputBar
. Reduces complexity of constraints for easier testing/debugging. #384 by @nathantannar4.
โ Removed
- ๐ฅ Breaking Change Removed
scrollsToBottomOnFirstLayout
flag ofMessagesViewController
. #395 by @zhongwuzw.
-
v0.11.0 Changes
โ Added
๐ฅ Breaking Change Added a top
InputStackView
toMessageInputBar
. This adds the addition of the.top
case toInputStackView.Position
. #320 by @nathantannar4.๐ฅ Breaking Change Added
AvatarPosition
andavatarPosition(for:at:in)
to configure anAvatarView
's vertical and horizontal position in aMessageCollectionViewCell
. #322 by @SD10.โ Added
shouldCacheLayoutAttributes(for:MessageType)-> Bool
method toMessagesLayoutDelegate
to manage whether aMessageType
's layout information is cached or not. #364 by @SD10.
๐ Changed
๐ฅ Breaking Change The
cellTopLabel
andcellBottomLabel
properties ofMessageCollectionViewCell
are no longer typed asMessageLabel
and are now regularUILabel
s. #355 by @SD10.0๏ธโฃ All
DetectorType
s forMessageLabel
are disabled by default. #356 by @SD10.
๐ Fixed
๐ฅ Breaking Change Fixed all instances of misspelled
initial
property.Avatar.initial
has changed toAvatar.initial
and the initializer has changed frompublic init(image: UIImage? = nil, initials: String = "?")
topublic init(image: UIImage? = nil, initials: String = "?")
. #298 by @sidmclaughlin.๐ Fixed
MessageInputBar
'stranslucent
functionality. #348 by @zhongwuzw.๐ Fixes infinite loop when dismissing keyboard on iPhone X. #350 by @nathantannar4.
๐ Fixed incorrect sizing of
cellTopLabel
andcellBottomLabel
. #371 by @SD10.
โ Removed
๐ฅ Breaking Change Removed
AvatarAlignment
andavatarAlignment(for:at:in)
delegate method in favor of newAvatarPosition
representing both vertical and horizontal alignments. #322 by @SD10.๐ฅ Breaking Change Removed the
avatarAlwaysLeading
andavatarAlwaysTrailing
properties of `MessagesCollectionViewFlow$ #322 by @SD10.๐ฅ Breaking Change Removed
LocationMessageDisplayDelegate
&TextMessageDisplayDelegate
and moved their methods ๐ into theMessagesDisplayDelegate
protocol. RemovedLocationMessageLayoutDelegate
&MediaMessageLayoutDelegate
and ๐ moved their methods into theMessagesLayoutDelegate
protocol. #363 by @SD10.
-
v0.10.2 Changes
๐ Fixed
๐ Fixed
contentInset.top
adjustment of theMessagesCollectionView
on iOS versions less than 11 where it was found that messages appeared under the navigation var #334 by @nathantannar4.๐ Fixed
cellbottomLabel
origin X for the.messageLeading
alignment and origin Y so that thecellBottomLabel
is always under theMessageContainerView
. #326 by @SD10.๐ Fixed pixelation of
AvatarView
's placeholder text initials. #343 by @johnnyoin.๐ Fixed
MessageLabel
address detection handler. #341 by @zhongwuzw๐ Fixed crash for escaping block in
InputBarItem
โssetSize(newValue:animated)
method. #342 by @zhongwuzw.