MessageKit(new) v0.10.0 Release Notes
-
โ Added
โ Added
removedCachedAttributes(for:MessageType)
,removeAllCachedAttributes()
, andattributesCacheMaxSize
toMessagesCollectionViewFlowLayout
to manage the caching of layout information for messages. #263 by @SD10.Created
SeparatorLine
andInputStackView
as their own subclass ofUIView
andUIStackView
respectively. This just improves reusability. #273 by @nathantannar4.
๐ Changed
๐ฅ Breaking Change The properties
leftStackView
,rightStackView
andbottomStackView
inMessageInputBar
are now of typeInputStackView
. The propertyseparatorLine
is also now of typeSeparatorLine
inMessageInputBar
. #273 by @nathantannar4.Layout information is now being cached by
MessagesCollectionViewFlowLayout
for eachMessageType
using themessageId
property. (This means if your layout is dynamic over theIndexPath
you need to handle cache invalidation). #263 by @SD10.Layout anchors for the
MessagesCollectionView
andMessageInputBar
now include the safeAreaLayoutGuide to fix layout issues on iPhone X #280 by @nathantannar4.
๐ Fixed
๐ Fixed a bug that prevented the
textAllignment
property ofInputTextView
'splaceholderLabel
from having noticable differences when changed to.center
or.right
. #262 by @nathantannar4.Initial
contentInset.bottom
reference changed frommessageInputBar
toinputAccessoryView
to allow custominputAccessoryView
's that don't break the initial layout. #267 by @nathantannar4.Changes the
MessageInputBar
bottomUIStackView
'sbottomAnchor
tolayoutMarginsGuide.bottomAnchor
to fix issues on the iPhone X. #266 by @nathantannar4.Initial
contentInset.bottom
reference changed frommessageInputBar
toinputAccessoryView
to allow custom inpinputAccessoryView
's that don't break the initial layout #267 by @nathantannar4.
โ Removed