Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Animating timer with Duration does not work unless on main thread #4

Open
otymartin opened this issue Jan 28, 2017 · 0 comments
Open

Comments

@otymartin
Copy link

otymartin commented Jan 28, 2017

@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)
        }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant