-
Notifications
You must be signed in to change notification settings - Fork 18
mperovic/KOAProgressBar
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
KOAProgressBar 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]; contact: miroslav.perovic@icloud.com
About
Custom progress bar for iOS 5.0+
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published