Merge branch 'development' of https://github.com/MessageKit/MessageKit into development

This commit is contained in:
Steven Deutsch
2018-06-13 18:45:59 -05:00
3 changed files with 11 additions and 6 deletions
+5
View File
@@ -8,6 +8,11 @@ The changelog for `MessageKit`. Also see the [releases](https://github.com/Messa
## [[Prerelease] 1.0.0-beta.2](https://github.com/MessageKit/MessageKit/releases/tag/1.0.0-beta.2)
### Changed
- Relaxed the settable requirement for the `LocationItem` and `MediaItem` protocols.
[#727](https://github.com/MessageKit/MessageKit/pull/716) by [@SD10](https://github.com/sd10).
### Fixed
- Fixed `MessageContentCell`'s subviews `frame` when size equal to `.zero`.
+2 -2
View File
@@ -28,9 +28,9 @@ import class CoreLocation.CLLocation
public protocol LocationItem {
/// The location.
var location: CLLocation { get set }
var location: CLLocation { get }
/// The size of the location item.
var size: CGSize { get set }
var size: CGSize { get }
}
+4 -4
View File
@@ -28,15 +28,15 @@ import Foundation
public protocol MediaItem {
/// The url where the media is located.
var url: URL? { get set }
var url: URL? { get }
/// The image.
var image: UIImage? { get set }
var image: UIImage? { get }
/// A placeholder image for when the image is obtained asychronously.
var placeholderImage: UIImage { get set }
var placeholderImage: UIImage { get }
/// The size of the media item.
var size: CGSize { get set }
var size: CGSize { get }
}