https://github.com/PhilippeBoisney/LinearProgressBar
A simple Linear Progress Bar for IOS (Swift 3.0), inspired by Material Design
https://github.com/PhilippeBoisney/LinearProgressBar
Last synced: 3 months ago
JSON representation
A simple Linear Progress Bar for IOS (Swift 3.0), inspired by Material Design
- Host: GitHub
- URL: https://github.com/PhilippeBoisney/LinearProgressBar
- Owner: PhilippeBoisney
- License: mit
- Created: 2015-12-06T11:22:18.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2023-09-28T07:09:48.000Z (about 2 years ago)
- Last Synced: 2025-06-17T04:41:09.812Z (5 months ago)
- Language: Swift
- Homepage:
- Size: 4.25 MB
- Stars: 149
- Watchers: 5
- Forks: 51
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-ios - LinearProgressBar - Linear Progress Bar (inspired by Google Material Design) for iOS. (UI / Activity Indicator)
- awesome-ios-star - LinearProgressBar - Linear Progress Bar (inspired by Google Material Design) for iOS. (UI / Activity Indicator)
- awesome - LinearProgressBar - A simple Linear Progress Bar for IOS (Swift 3.0), inspired by Material Design (OOM-Leaks-Crash / WebView-ProgressBar)
README
# Linear Progress Bar (Material Design)
[](https://developer.apple.com/iphone/index.action)
[](https://developer.apple.com/swift)
[](http://mit-license.org)
Linear Progress Bar (inspired by [Google Material Design](https://www.google.com/design/spec/components/progress-activity.html#progress-activity-types-of-indicators#)) for iOS written in Swift 4.0
Please feel free to make pull requests :)

## INSTALLATION
####Manually
Simply add **LinearProgressBar.swift** file on your project.
####CocoaPods
You can use [Cocoapods](http://cocoapods.org/) to install `Linear Progress Bar` by adding it to your `Podfile`:
```ruby
platform :ios, '8.0'
use_frameworks!
target 'MyApp' do
pod 'LinearProgressBarMaterial'
end
```
## USAGE
```swift
//Simply, Call Progress Bar
let linearBar: LinearProgressBar = LinearProgressBar()
//Start Animation
self.linearBar.startAnimation()
//Stop Animation
self.linearBar.stopAnimation()
```
**OPTIONS**
```swift
//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)