Merge pull request #705 from zhongwuzw/fix-protection-level

Make LabelAlignment initializer public
This commit is contained in:
Wu Zhong
2018-05-29 22:23:57 +08:00
committed by GitHub
2 changed files with 10 additions and 0 deletions
+5
View File
@@ -6,6 +6,11 @@ The changelog for `MessageKit`. Also see the [releases](https://github.com/Messa
## Upcoming release
### Fixed
- Fixed `LabelAlignment` initializer which has default internal access control.
[#705](https://github.com/MessageKit/MessageKit/pull/705) by [@zhongwuzw](https://github.com/zhongwuzw).
## [[Prerelease] 1.0.0-beta.1](https://github.com/MessageKit/MessageKit/releases/tag/1.0.0-beta.1)
### Added
+5
View File
@@ -28,6 +28,11 @@ public struct LabelAlignment {
public var textAlignment: NSTextAlignment
public var textInsets: UIEdgeInsets
public init(textAlignment: NSTextAlignment, textInsets: UIEdgeInsets) {
self.textAlignment = textAlignment
self.textInsets = textInsets
}
}