mirror of
https://github.com/MessageKit/MessageKit.git
synced 2026-02-06 19:03:19 +00:00
+20
-17
@@ -1,26 +1,29 @@
|
||||
## General Information
|
||||
<!--
|
||||
Hi, thanks so much for opening an issue! 🤗
|
||||
|
||||
* MessageKit Version:
|
||||
To better pinpoint (and solve) the issue you're experiencing, we could use some information on your behalf.
|
||||
|
||||
* iOS Version(s):
|
||||
Please let us know the following things:
|
||||
|
||||
* Swift Version:
|
||||
|
||||
* Devices/Simulators:
|
||||
|
||||
* Reproducible in ChatExample? (Yes/No):
|
||||
|
||||
|
||||
|
||||
## What happened?
|
||||
|
||||
|
||||
|
||||
|
||||
## What did you expect to happen?
|
||||
- What version of MessageKit are you using?
|
||||
- What version of iOS are you running on?
|
||||
- What version of Swift are you running on?
|
||||
- What device(s) are you testing on? Are these simulators?
|
||||
- Is the issue you're experiencing reproducable in the example app?
|
||||
|
||||
In some cases it can be really helpful to provide a short example of your code.
|
||||
If so, please wrap these code blocks in backticks, like this:
|
||||
|
||||
```swift
|
||||
*your code goes here*
|
||||
```
|
||||
|
||||
The code will automatically get its syntax highlighted, and doesn't need to be indented 4 spaces to be shown as code.
|
||||
|
||||
When referencing a dependency manager-related issue (think CocoaPods, Carthage, SwiftPM), please add its configuration file and version to the issue.
|
||||
It would be helpful to put the contents in a code block too, using ```ruby for CocoaPods and ```swift for SwiftPM.
|
||||
|
||||
Also please make sure your title describes your problem well. Questions end with a question mark.
|
||||
|
||||
Thanks again, and let us know if there are any other questions you might have.
|
||||
-->
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
# Configuration for probot-stale - https://github.com/probot/stale
|
||||
|
||||
# Number of days of inactivity before an Issue or Pull Request becomes stale
|
||||
daysUntilStale: 14
|
||||
|
||||
# Number of days of inactivity before a stale Issue or Pull Request is closed
|
||||
daysUntilClose: 7
|
||||
|
||||
# Issues or Pull Requests with these labels will never be considered stale
|
||||
exemptLabels:
|
||||
- "enhancement"
|
||||
- "confirmed bug"
|
||||
- "discussion"
|
||||
- "feature request"
|
||||
- "documentation"
|
||||
|
||||
# Label to use when marking as stale
|
||||
staleLabel: stale
|
||||
|
||||
# Comment to post when marking as stale. Set to `false` to disable
|
||||
markComment: >
|
||||
This issue has been marked as stale because it has not had
|
||||
recent activity. It will be closed if no further activity occurs.
|
||||
|
||||
# Comment to post when removing the stale label. Set to `false` to disable
|
||||
unmarkComment: false
|
||||
|
||||
# Comment to post when closing a stale Issue or Pull Request. Set to `false` to disable
|
||||
closeComment: >
|
||||
This issue has been auto-closed because there hasn't been any activity for at least 21 days.
|
||||
However, we really appreciate your contribution, so thank you for that! 🙏
|
||||
Also, feel free to [open a new issue](https://github.com/MessageKit/MessageKit/issues/new) if you still experience this problem 👍.
|
||||
|
||||
# Limit to only `issues`
|
||||
only: issues
|
||||
@@ -6,6 +6,17 @@ The changelog for `MessageKit`. Also see the [releases](https://github.com/Messa
|
||||
|
||||
## Upcoming release
|
||||
|
||||
## [1.0.0](https://github.com/MessageKit/MessageKit/releases/tag/1.0.0)
|
||||
|
||||
- First major release.
|
||||
|
||||
## [[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`.
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
Pod::Spec.new do |s|
|
||||
s.name = 'MessageKit'
|
||||
s.version = '1.0.0-beta.1'
|
||||
s.version = '1.0.0'
|
||||
s.license = { :type => "MIT", :file => "LICENSE.md" }
|
||||
|
||||
s.summary = 'An elegant messages UI library for iOS.'
|
||||
|
||||
@@ -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 }
|
||||
|
||||
}
|
||||
|
||||
@@ -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 }
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user