mineschan / MZTimerLabel

A handy class for iOS to use UILabel as a countdown timer or stopwatch just like in Apple Clock App.
MIT License
1.57k stars 247 forks source link

setCountDownTime #77

Closed BadChoice closed 7 years ago

BadChoice commented 8 years ago

I found that when calling multiple setCountDownTime the counter is decreased faster than normal (a few seconds everytime it is called)

I need to do that since it is in a reusable cell, so everytime a cell is reloaded I need to set the right countdown time

I've been digging to find what makes it fail, and I can't find it.. Any solution? Thanks!

vimalrick commented 7 years ago

Hi BadChoice, Have you found any workaround for this? I am facing the same issue

BadChoice commented 7 years ago

Yeah, I found out it wasn't it being called multiple times, but settings a negative time what caused the wrong behaviour,

hope it helps!