mirror of
https://github.com/MessageKit/MessageKit.git
synced 2026-02-06 19:03:19 +00:00
Update MessageKit.podspec for 0.12.0
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
@@ -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.'
|
||||
|
||||
Reference in New Issue
Block a user