Skip to content

Commit 0be0e9f

Browse files
Solve lib lint failure
Summary: This diff solves `pod lib lint` failure. We want to make a new yoga release, as I landed some changes in its podspec which solves the broken flipper build for xcode 11. {F221612119} Reviewed By: passy Differential Revision: D18382588 fbshipit-source-id: efddfa3e93ca59b79b887d04f83407b004d9a199
1 parent ddf748a commit 0be0e9f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

YogaKit/Source/YGLayoutExtensions.swift

+4-3
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
* LICENSE file in the root directory of this source tree.
66
*/
77

8+
import yoga;
89
postfix operator %
910

1011
extension Int {
@@ -29,15 +30,15 @@ extension YGValue : ExpressibleByIntegerLiteral, ExpressibleByFloatLiteral {
2930
public init(integerLiteral value: Int) {
3031
self = YGValue(value: Float(value), unit: .point)
3132
}
32-
33+
3334
public init(floatLiteral value: Float) {
3435
self = YGValue(value: value, unit: .point)
3536
}
36-
37+
3738
public init(_ value: Float) {
3839
self = YGValue(value: value, unit: .point)
3940
}
40-
41+
4142
public init(_ value: CGFloat) {
4243
self = YGValue(value: Float(value), unit: .point)
4344
}

0 commit comments

Comments
 (0)