All Projects → PhilippeBoisney → Linearprogressbar

PhilippeBoisney / Linearprogressbar

Licence: mit
A simple Linear Progress Bar for IOS (Swift 3.0), inspired by Material Design

Programming Languages

swift
15916 projects

Linear Progress Bar (Material Design)

Platform Language License

Linear Progress Bar (inspired by Google Material Design) for iOS written in Swift 4.0

Please feel free to make pull requests :)

alt tag

INSTALLATION

####Manually Simply add LinearProgressBar.swift file on your project.

####CocoaPods You can use Cocoapods to install Linear Progress Bar by adding it to your Podfile:

platform :ios, '8.0'
use_frameworks!

target 'MyApp' do
	pod 'LinearProgressBarMaterial'
end

USAGE

//Simply, Call Progress Bar
let linearBar: LinearProgressBar = LinearProgressBar()

//Start Animation
self.linearBar.startAnimation()

//Stop Animation
self.linearBar.stopAnimation()

OPTIONS

//Change background color
linearBar.backgroundColor = UIColor(red:0.68, green:0.81, blue:0.72, alpha:1.0)
linearBar.progressBarColor = UIColor(red:0.26, green:0.65, blue:0.45, alpha:1.0)

//Change height of progressBar
linearBar.heightForLinearBar = 5

FEATURES

  • [x] Multi-Device Full Support
  • [x] Rotation Support
  • [x] Material Design Effect
  • [x] Swift 4 support

Version

1.3

Author

Philippe BOISNEY (phil.boisney(@)gmail.com)

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].