GithubHelp home page GithubHelp logo

koaprogressbar's Introduction

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:
  [email protected]

koaprogressbar's People

Contributors

mperovic avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.