knn90 / KNCirclePercentView

Objective-C - A custom animated circle percent view
82 stars 65 forks source link

A way to animate to a new value without restarting animation? #4

Closed deucks closed 8 years ago

deucks commented 8 years ago

Great implementation! But from the example i see that when entering a new percentage it seems to reanimate the whole progress bar. Is there any way to just animate upto the updated value?

knn90 commented 8 years ago

Do you mean this:

  1. Draw to 50% with red
  2. Draw from 50% to 70% with green and so on..
deucks commented 8 years ago

yeah something like that would good

knn90 commented 8 years ago

I will modify my code and create some demo. May be next week

On Thursday, February 4, 2016, Raajit Sharma notifications@github.com wrote:

yeah something like that would good

— Reply to this email directly or view it on GitHub https://github.com/knn90/KNCirclePercentView/issues/4#issuecomment-179775015 .

deucks commented 8 years ago

ok thanks!

knn90 commented 8 years ago

I implemented another demo for you. Check out this https://github.com/knn90/KNPieChart. If you have any comment, don't hesitate to let me know. Hope this help you somehow :)