-
-
Notifications
You must be signed in to change notification settings - Fork 131
Changing Progress
Jeff Felchner edited this page Sep 15, 2017
·
6 revisions
Method | Description |
---|---|
#increment |
Will advance the bar's progress by 1 unit. This is the main way of progressing the bar. |
#decrement |
Will retract the bar's progress by 1 unit. |
#progress+= |
Will allow you to increment by a relative amount. |
#progress-= |
Will allow you to decrement by a relative amount. |
#progress= |
Will set the bar's progress to whatever value you would like. Note: This will likely mess up your estimated time if you're using it. |
#total= |
Will change the total number of items being processed by the bar. This can be anything (even nil ) but cannot be less than the amount of progress already accumulated by the bar. |
Animated: