mirror of
https://github.com/MessageKit/MessageKit.git
synced 2026-02-06 19:03:19 +00:00
Add CHANGELOG entry for #391`
This commit is contained in:
@@ -8,6 +8,18 @@ The changelog for `MessageKit`. Also see the [releases](https://github.com/Messa
|
||||
|
||||
### Changed
|
||||
|
||||
- **Breaking Change** Removed the generic constraint `<ContentView: UIView>` from `MessageCollectionViewCell`.
|
||||
[#391](https://github.com/MessageKit/MessageKit/pull/391) by [@SD10](https://github.com/sd10).
|
||||
|
||||
- **Breaking Change** The `configure(message:indexPath:messagesCollectionView)` method of `LocationMessageCell`,
|
||||
`MediaMessageCell`, `TextMessageCell`, and `MessageCollectionViewCell` has been replaced by methods that take the
|
||||
delegate return values as arguments.
|
||||
[#391](https://github.com/MessageKit/MessageKit/pull/391) by [@SD10](https://github.com/sd10).
|
||||
|
||||
- **Breaking Change** The `contentView` property has been renamed to `imageView` for `LocationMessageCell` and `MediaMessageCell`
|
||||
and `messageLabel` for `TextMessageCell`.
|
||||
[#391](https://github.com/MessageKit/MessageKit/pull/391) by [@SD10](https://github.com/sd10).
|
||||
|
||||
- **Breaking Change** Changed the name of `MessageInputBar`'s property `maxHeight` to `maxTextViewHeight` as the property is the max height the `InputTextView` can have, not the `MessageInputBar` itself.
|
||||
[#380](https://github.com/MessageKit/MessageKit/pull/380) by [@nathantannar4](https://github.com/nathantannar4).
|
||||
|
||||
|
||||
@@ -26,6 +26,7 @@ import UIKit
|
||||
import MapKit
|
||||
|
||||
open class LocationMessageCell: MessageCollectionViewCell {
|
||||
|
||||
open override class func reuseIdentifier() -> String { return "messagekit.cell.location" }
|
||||
|
||||
// MARK: - Properties
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
import UIKit
|
||||
|
||||
open class MediaMessageCell: MessageCollectionViewCell {
|
||||
|
||||
open override class func reuseIdentifier() -> String { return "messagekit.cell.mediamessage" }
|
||||
|
||||
// MARK: - Properties
|
||||
|
||||
Reference in New Issue
Block a user