lightdesign / LDProgressView

[Stale] A flat or gradient progress view with a simple color setter and customizable options written in pure Core Graphics
MIT License
368 stars 55 forks source link

Respect animate flag when setting progress #13

Closed jefflinwood closed 10 years ago

jefflinwood commented 10 years ago

This is the change I made so that when you reuse the progress view (for instance, to reset to zero), you don't have to have the progress bar animate all the way down - the animate flag is now checked when setting progress.

I also updated the demo view controller so that the non-animated progress bars don't animate. You can see the difference by running the demo app.

rcdilorenzo commented 10 years ago

Looks good. Thanks for your contribution.