Jen Sipila
Feb 23, 2017 · 2 min read

Hi Yves, Sorry for the very delayed my response! And thank you for reading and following my tutorial! You may have found the response already, but I hope this helps. I set up a button that will show the timer count down as the buttons title. I then used the setTitle method like this:

inside the body of the updateTimer method.

The complete updateTimer method would look like this:(I kept the code for updating the original label too).

This worked for me. The title was not lagging or switching back to the default label at each timer count.

The only possible draw back is that the title does appear to flash or momentarily disappear and reappear between each count, and this is probably due to redrawing. So if this flashing does not work for your app, there may be a better solution than this one.

If you solved it another way, I’d love to know how you did it.

Thanks again for reading and I hope this helps!!

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade