Latest 1.0.5
Homepage https://github.com/Maheshbabu576/HorizontalProgressBar
License MIT
Platforms ios 10.0
Authors

Horizontal Progress Bar

A Horizontal progress bar for iOS written in Swift.

Sample Screen

Alt Text Alt Text Alt Text

usage

Initialization

 let progressBar = HorizontalProgressbar(frame: CGRect(x: 0, y: (self.navigationController?.navigationBar.frame.size.height)! - 3, width: (self.navigationController?.navigationBar.frame.size.width)!, height: 3)    self.navigationController?.navigationBar.addSubview(progressBar)

To Start Animation

progressBar.startAnimating()

To Stop Animation

progressBar.stopAnimating()

Customization

progressBar.noOfChunks = 2   // You can provide number of Chunks/Strips appearing over the animation. By default it is 3 
progressBar.kChunkWdith = 50 // Adjust the width of Chunks/Strips
progressBar.progressTintColor = UIColor.white  // To change the Chunks color
progressBar.trackTintColor = UIColor.darkGray  // To change background color of loading indicator
progressBar.loadingStyle = .indetermine    // Choose loading styles from determine , indetermine , fill

Installation

pod 'HorizontalProgressBar'

Author

MaheshBabu S, [email protected]

License

HorizontalProgressBar is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "HorizontalProgressBar",
    "version": "1.0.5",
    "summary": "HorizontalProgressbar is a nice and beautiful loading indicator",
    "description": "This is a beautiful and lightweight loading indicator that suites under Navigationbar, UITableview Cells, Collectionview Cell and more..",
    "homepage": "https://github.com/Maheshbabu576/HorizontalProgressBar",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "MaheshBabu": "[email protected]"
    },
    "source": {
        "git": "https://github.com/Maheshbabu576/HorizontalProgressBar.git",
        "tag": "1.0.5"
    },
    "platforms": {
        "ios": "10.0"
    },
    "swift_version": "4.0",
    "source_files": "HorizontalProgressBar/Classes/**/*"
}

Pin It on Pinterest

Share This