lexrus / LTMorphingLabel

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

Problem on showing 0 (zero) in the label, Swift 2.2 and Xcode7.3 #54

Closed mjhassan closed 8 years ago

mjhassan commented 8 years ago

After updating my project to Swift 2.2 in xcode 7.3 none of the following code showing 0 (zero) in the label.

myMorphingLabel.text = "0"

Or

let zeroValue = 0
myMorphingLabel.text = String(zeroValue)
myMorphingLabel.text = String(format: "\(zeroValue)")

But if I try with 1 or 0.0, it works. Can please check this? Thanks.

lexrus commented 8 years ago

How do you install this lib? CocoaPods or Carthage?

lexrus commented 8 years ago

I just publish the latest version. Please upgrade and try again.