SnapTimer icon indicating copy to clipboard operation
SnapTimer copied to clipboard

Animating timer with Duration does not work unless on main thread

Open otymartin opened this issue 7 years ago • 0 comments

@andresinaka When animating the timer with duration, it doesnt work unless run on the mainthread like so...perhaps this should be done in the timer object otherwise you will be left wondering why it doesnt work.

DispatchQueue.main.async {
            snapTimer.animateOuterToValue(100, duration: 100, completion: nil)
        }

otymartin avatar Jan 28 '17 05:01 otymartin