From e1eda618e7635e229e88efe62b778b4ee3beb3e1 Mon Sep 17 00:00:00 2001 From: Steven Deutsch Date: Sun, 17 Dec 2017 22:00:44 -0600 Subject: [PATCH] Update MessageKit.podspec for 0.12.0 --- CHANGELOG.md | 2 ++ Documentation/FAQs.md | 2 +- MessageKit.podspec | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) 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.'