lexrus / LTMorphingLabel

[EXPERIMENTAL] Graceful morphing effects for UILabel written in Swift.
MIT License
8.07k stars 782 forks source link

Simplifies easeOutQuint by using pow instead of $0 * $0 for 5 times. #126

Closed JeanAzzopardi closed 5 years ago

JeanAzzopardi commented 5 years ago

While I was compiling LTMorphingLabel as a carthage dependency on CircleCI (using Swift 5), I had an error on this line: The compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions

By using pow, I made the expression a bit simpler but with the same meaning.

lexrus commented 5 years ago

Merged. Thanks.