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

Resume animations from current state when calling startAnimating() #5

Open
pixelmatrix opened this issue Jul 19, 2017 · 0 comments
Open
Labels

Comments

@pixelmatrix
Copy link

It seems currently when DRPLoadingSpinner's view is removed from the hierarchy the animations are removed which causes it to appear as paused. When resuming the animation via startAnimating() upon viewDidAppear, it starts over from the beginning, which is kind of strange looking in the UI. It would be great if we could have it start from the current state when animating again.

Similarly, it appears that additional calls to startAnimating() will cause it to start over each time. I'm using it in a UITableViewCell and currently have to check whether or not the animations are already running before calling startAnimating(), when it would be more convenient to just always call startAnimating() while configuring the cell for a certain state.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants