Skip to content


Subversion checkout URL

You can clone with
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

35 lines (26 sloc) 1.64 kB
KOAProgressBar (KeepOnApps ProgressBar)
The KOAProgressBar is a custom progress bar for iOS 5.0+ with a full controll over animation.
Easily set min & max values for progres bar:
[koaProgressBar setMinValue:0.0];
[koaProgressBar setMaxValue:5.0];
Set initial progress bar value:
[koaProgressBar setRealProgress:0.25];
If you want to hide progressBar at the end:
[koaProgressBar setDisplayedWhenStopped:NO];
Choose your own colors:
[koaProgressBar setShadowColor:[UIColor colorWithRed:223.0/255.0 green:238.0/255.0 blue:181.0/255.0 alpha:1.0]];
[koaProgressBar setprogressBarColorBackground:[UIColor colorWithRed:25.0/255.0 green:29.0/255 blue:33.0/255.0 alpha:1.0]];
[koaProgressBar setProgressBarColorBackgroundGlow:[UIColor colorWithRed:17.0/255.0 green:20.0/255.0 blue:23.0/255.0 alpha:1.0]];
[koaProgressBar setLighterProgressColor:[UIColor colorWithRed:223.0/255.0 green:237.0/255.0 blue:180.0/255.0 alpha:1.0]];
[koaProgressBar setDarkerProgressColor:[UIColor colorWithRed:156.0/255.0 green:200.0/255.0 blue:84.0/255.0 alpha:1.0]];
[koaProgressBar setLighterStripeColor:[UIColor colorWithRed:182.0/255.0 green:216.0/255.0 blue:86.0/255.0 alpha:1.0]];
[koaProgressBar setDarkerStripeColor:[UIColor colorWithRed:126.0/255.0 green:187.0/255.0 blue:55.0/255.0 alpha:1.0]];
Set timer interval & progresBar increment:
[koaProgressBar setTimerInterval:0.05];
[koaProgressBar setProgressValue:0.005];
Or just set animation duration and component will do all math for you:
[koaProgressBar setAnimationDuration:5.0];
And do the magic:
[koaProgressBar startAnimation:self];
Jump to Line
Something went wrong with that request. Please try again.