diff --git a/CHANGELOG.md b/CHANGELOG.md index 96088019..b4858a5b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ The changelog for `MessageKit`. Also see the [releases](https://github.com/Messa ## Upcoming release +## [[Prerelease] 0.12.0](https://github.com/MessageKit/MessageKit/releases/tag/0.12.0) + ### Added - Added `reloadDataAndKeepOffset()` method to `MessagesCollectionView` to maintain the current position diff --git a/Documentation/FAQs.md b/Documentation/FAQs.md index 2bfa657f..b2db901a 100644 --- a/Documentation/FAQs.md +++ b/Documentation/FAQs.md @@ -50,7 +50,7 @@ then get the `MessageType` for this cell through the `MessagesDataSource` method `messageForItem(at:IndexPath,in:MessagesCollectionView)`. ```Swift -func didTapMessage(in cell: MessageCollectionViewCell) { +func didTapMessage(in cell: MessageCollectionViewCell) { guard let indexPath = messagesCollectionView.indexPath(for: cell) else { return } guard let messagesDataSource = messagesCollectionView.messagesDataSource else { return } let message = messagesDataSource.messageForItem(at: indexPath, in: messagesCollectionView) diff --git a/MessageKit.podspec b/MessageKit.podspec index 5e53f84f..04cbe15f 100644 --- a/MessageKit.podspec +++ b/MessageKit.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'MessageKit' - s.version = '0.11.0' + s.version = '0.12.0' s.license = { :type => "MIT", :file => "LICENSE.md" } s.summary = 'An elegant messages UI library for iOS.'