LTMorphingLabel
LTMorphingLabel copied to clipboard
Xcode12.0 error
The compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
public static func easeInQuint(_ t: Float, _ b: Float, _ c: Float, _ d: Float = 1.0) -> Float {
return {
var a = c * $0
a = a * $0
a = a * $0
a = a * $0
a = a * $0
return a + b
// return c * $0 * $0 * $0 * $0 * $0 + b
}(t / d)
}
Fixed in the latest commit.
Thank you, @jseanj