MessageKit(new) v0.9.0 Release Notes
-
โ Added
๐ฅ Breaking Change
.custom((MessageContainerView)->Void)
case toMessageStyle
enum. #163 by @SD10.๐ฅ Breaking Change
UIEdgeInsets
associated value to allLabelAlignment
enum cases. #166 by @SD10.๐ฅ Breaking Change
.emoji(String)
case toMessageData
enum. #222 by @SirArkimdes.๐ฅ Breaking Change
TextMessageDisplayDelegate
to handleenabledDetectors(for:at:in)
and movestextColor(for:at:in)
to this namespace. #230 by @SD10LocationMessageDisplayDelegate
to customize a location messages appearance and add aMKAnnotationView
to location message snapshots. #150 by @etoledom.messageLabelInsets(for:indexPath:messagesCollectionView
method toMessagesLayoutDelegate
. #162 by @SD10.animationBlockForLocation(message:indexPath:messagesCollectionView)
method toLocationMessageDisplayDelegate
to customize the display animation of the location message's map. #210 by @etoledom.scrollsToBottomOnFirstLayout
property to automatically scroll to the bottom ofMessagesCollectionView
on first load. #213 by @FraDeliro.scrollsToBottomOnKeyboardDidBeginEditing
property to automatically scroll to the bottom ofMessagesCollectionView
when the keyboard begins editing. #217 by @SD10.additionalTopContentInset
property toMessagesCollectionViewController
to allow users to account for extra subviews. #218 by @SD10.messagePadding(for:at:in)
method toMessagesLayoutDelegate
to dynamically set padding aroundMessageContainerView
. #208 by @SD10.
๐ Fixed
MessageInputBar
now correctly sizes itself when breaking its max height or pasting in large amounts of text #173 by @nathantannar4.MessageInputBar
faced a rendering issue on subsequent presentations of aMessageViewController
. This was originally patched by adding a copy to the view duringviewDidAppear(animated:)
however that led to other issues #116. A correct patch has now been applied. #178 by @nathantannar4.0๏ธโฃ Incorrect sizing of
MessagesCollectionView
s content inset by settingextendedLayoutIncludesOpaqueBars
to true by default. #204 by @SD10.scrollIndicatorInsets
to match the insets of theMessagesCollectionView
. #174 by @etoledom.MediaMessageCell
had an offsetPlayButtonView
that was being constrained to the cell and not the message container. #239 by @SirArkimedes.
๐ Changed
๐ฅ Breaking Change
snapshotOptionsForLocation
method is now part ofLocationMessageDisplayDelegate
. #150 by @etoledom.๐ฅ Breaking Change
setMapSnapshotImage
now includes anannotationView: MKAnnotationView?
argument. #150 by @etoledom.๐ฅ Breaking Change
messageLabelInsets
has been made into a method onMessagesLayoutDelegate
. #162 by @SD10.๐ฅ Breaking Change
messageLabelInsets
now defaults to aleft
inset of 18 for incoming messages and aright
inset of 18 for outgoing messages. #162 by @SD10.๐ฅ Breaking Change
InputTextView
'sUITextViewDelegate
is now set toself
#173 by @nathantannar4.๐ฅ Breaking Change
MessagesDisplayDelegate
messageHeaderView(for:at:in)
andmessageFooterView(for:at:in)
to return non-optionals. #229 by @SD10.๐ฅ Breaking Change
MessagesCollectionView
dequeueMessageHeaderView(withIdentifier:for:)
&dequeueMessageFooterView(widthIdentifier:for:)
have been renamed todequeueReusableHeaderView(CollectionViewReusable.Type,for:)
&dequeueReusableFooterView(CollectionViewReusable.Type,for:)
. #229 by @SD10.๐ง
configure
method of allMessageCollectionViewCell
types to be marked asopen
. #200 by @SD10.MessageHeaderView
,MessageFooterView
, andMessageDateHeaderView
initializers to bepublic
. #175 by @cwalo.UICollectionViewDataSource
andUICollectionViewDelegate
methods ofMessagesViewController
to beopen
. #177 by @cwalo.
โ Removed