Merge pull request #912 from JulienKode/patch-1

[MessageLabel] Change privacy of properties and function to use allow…
This commit is contained in:
Nathan Tannar
2018-11-01 16:44:22 -07:00
committed by GitHub
2 changed files with 8 additions and 1 deletions
+7
View File
@@ -4,6 +4,13 @@ The changelog for `MessageKit`. Also see the [releases](https://github.com/Messa
--------------------------------------
## Upcoming Release
### Changed
- Change acl of `handleGesture(touchLocation:)` in `MessageLabel` from internal to open.
[#912](https://github.com/MessageKit/MessageKit/pull/912) by [@julienkode](https://github.com/JulienKode)
## [2.0.0-beta.1](https://github.com/MessageKit/MessageKit/releases/tag/2.0.0-beta.1)
### Changed
+1 -1
View File
@@ -399,7 +399,7 @@ open class MessageLabel: UILabel {
}
internal func handleGesture(_ touchLocation: CGPoint) -> Bool {
open func handleGesture(_ touchLocation: CGPoint) -> Bool {
guard let index = stringIndex(at: touchLocation) else { return false }