Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 1.12 KB

README.md

File metadata and controls

32 lines (22 loc) · 1.12 KB

HBRProgressBar:Top HBRProgressBar:Navigation HBRProgressBar:Status HBRProgressBar:Bottom

HBRProgressBar

easy bi-state progress loading bar

Usage

You need to subclass your custom ViewController from HBRViewController. Then you can use the functions to handle any kind of loading process for which you normally would use an UIActivityIndicator. You can easily start the loading animation by executing the following command

func startLoading()

when loading is finished, you just need to call the finished function

func finishLoading()

public variables that change the behavior of the loading animation are the following

var progressBarPosition: BarPosition = BarPosition.Top
var progressBarColor: UIColor = UIColor.blueColor()

You can change the bar position and the color