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

Setting currentValue animated #37

Open
calmez opened this issue Jul 3, 2015 · 2 comments
Open

Setting currentValue animated #37

calmez opened this issue Jul 3, 2015 · 2 comments

Comments

@calmez
Copy link

calmez commented Jul 3, 2015

Setting the currentValue of the slider directly works perfectly. When I try to set it in an animation though the drawn elements are not properly rendered.

This is how I tried to animate:

[UIView animateWithDuration:1.f animations:^{
    self.hourSlider.currentValue = 50;
}];

It would be cool to have a setCurrentValue:animated: similar to UIProgressView's setProgress:Animated:.

@SeanChense
Copy link

That is what I wanted , too.

@zackbraksa
Copy link

Any ideas on how to achieve this ?

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

3 participants