3.0.0
Dependency Changes
- Breaking Change The dependency
MessageInputBar
was replaced withInputBarAccessoryView
. AsMessageInputBar
was previously a fork this means no functionality has been lost but improvements and bug fixes will be present.InputBarAccessoryView
has more of a following outside ofMessageKit
making its development faster thanMessageInputBar
. Maintaining two versions only increased the workload. You can find the changelog forInputBarAccessoryView
here.
Changed
-
Breaking Change Deprecated the Sender struct in favor of the
SenderType
protocol.
#909 by @nathantannar4 -
Breaking Change Add support for audio messages. Added new protocols
AudioControllerDelegate
,AudioItem
a new cellAudioMessageCell
and a new controllerBasicAudioController
.
#892 by @moldovaniosif. -
Breaking Change Moved
handleTapGesture
method toMessageCollectionViewCell
#950 by @nathantannar4 -
Breaking Change Renamed function
layoutBottomLabel(with:)
tolayoutMessageBottomLabel(with:)
inMessageContentCell
class.
#920 by @maxxx777
Added
-
Breaking Change Add support for share contact. #1013 by @moldovaniosif
-
Added typing indicator support,
func setTypingIndicatorViewHidden(_ isHidden: Bool, animated: Bool, whilePerforming updates: (() -> Void)? = nil, completion: ((Bool) -> Void)? = nil)
. Return a custom typing view by conforming toMessagesDisplayDelegate
or use the default appearance. Customize the size withMessagesLayoutDelegate
.
#989 by @nathantannar4 -
Added
incomingAccessoryViewPosition
andoutgoingAccessoryViewPosition
variables toMessageSizeCalculator
class.
#989 by @subdiox -
Added
setMessageIncomingAccessoryViewPosition(_:)
andsetMessageOutgoingAccessoryViewPosition(_:)
functions toMessagesCollectionViewFlowLayout
class.
#989 by @subdiox -
Breaking Change Added
avatarLeadingTrailingPadding
as a property ofCellSizeCalculator
andMessagesCollectionViewLayoutAttributes
to inset theAvatarView
layout
#944 by @nathantannar4 -
Breaking Change Added
didTapBackground(in:)
function toMessageCellDelegate
protocol.
#922 by @kpennacchia -
Breaking Change Added
didTapCellBottomLabel(in:)
function toMessageCellDelegate
protocol.
#920 by @maxxx777 -
Breaking Change Added
cellBottomLabelAttributedText(for:, at:)
function toMessagesDataSource
protocol.
#920 by @maxxx777 -
Breaking Change Added
cellBottomLabelHeight(for:, at:, in messagesCollectionView:)
function toMessagesLayoutDelegate
protocol.
#920 by @maxxx777 -
Added
cellBottomLabel
toMessageContentCell
.
#920 by @maxxx777 -
Added
layoutCellBottomLabel(with:)
function toMessageContentCell
class.
#920 by @maxxx777 -
Added
setMessageIncomingCellBottomLabelAlignment(_:)
andsetMessageOutgoingCellBottomLabelAlignment(_:)
functions toMessagesCollectionViewFlowLayout
class.
#920 by @maxxx777 -
Added
cellBottomLabelAlignment
andcellBottomLabelSize
variables toMessagesCollectionViewLayoutAttributes
class.
#920 by @maxxx777 -
Added
incomingCellBottomLabelAlignment
andoutgoingCellBottomLabelAlignment
variables toMessageSizeCalculator
class.
#920 by @maxxx777 -
Added
cellBottomLabelSize(for:, at:)
andcellBottomLabelAlignment(for:)
functions toMessageSizeCalculator
class.
#920 by @maxxx777