Skip to content

Latest commit

 

History

History
45 lines (35 loc) · 803 Bytes

README.md

File metadata and controls

45 lines (35 loc) · 803 Bytes

LinearProgressBar

Carthage compatible

Material Linear Progress Bar for your iOS apps

Demo

Installation

Carthage:

github "Recouse/LinearProgressBar"

CocoaPods:

Add this to your Podfile

pod 'MaterialProgressBar'

Requirements

  • iOS 8.0+
  • Xcode 9.0+
  • Swift 3.2+

Usage

import LinearProgressBar

let progressBar = LinearProgressBar()
...
view.addSubview(progressBar)
progressBar.startAnimating()

You can use it like activity indicator in UIViewController:

// Start animating
showProgressBar()

// Stop animating
hideProgressBar()

Contribution

Feel free to make pull requests