Update MessageKit.podspec for 0.12.0

This commit is contained in:
Steven Deutsch
2017-12-17 22:00:44 -06:00
parent 759f5a9520
commit e1eda618e7
3 changed files with 4 additions and 2 deletions
+2
View File
@@ -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
+1 -1
View File
@@ -50,7 +50,7 @@ then get the `MessageType` for this cell through the `MessagesDataSource` method
`messageForItem(at:IndexPath,in:MessagesCollectionView)`.
```Swift
func didTapMessage<T>(in cell: MessageCollectionViewCell<T>) {
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)
+1 -1
View File
@@ -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.'