suzuki-0000 / CountdownLabel

Simple countdown UILabel with morphing animation, and some useful function.
MIT License
999 stars 192 forks source link

CountdownAttributedText Bug #37

Open caihua opened 6 years ago

caihua commented 6 years ago

countdownLabel7.setCountDownTime(minutes:400) countdownLabel7.animationType = .Evaporate countdownLabel7.timeFormat = "HH:mm:ss" countdownLabel7.countdownAttributedText = CountdownAttributedText(text: "x HERE 后结束", replacement: "HERE", attributes: [NSAttributedStringKey(rawValue: NSAttributedStringKey.foregroundColor.rawValue) : UIColor.red]) countdownLabel7.start() { self.countdownLabel7.text = "已经结束" }

It is not works good look.