Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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 9 years ago)
- Default Branch: master
- Last Pushed: 2023-09-28T07:09:48.000Z (about 1 year ago)
- Last Synced: 2024-04-24T14:16:06.980Z (6 months ago)
- Language: Swift
- Homepage:
- Size: 4.25 MB
- Stars: 149
- Watchers: 6
- 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)
README
# Linear Progress Bar (Material Design)
[![Platform](http://img.shields.io/badge/platform-ios-blue.svg?style=flat
)](https://developer.apple.com/iphone/index.action)
[![Language](http://img.shields.io/badge/language-swift-brightgreen.svg?style=flat
)](https://developer.apple.com/swift)
[![License](http://img.shields.io/badge/license-MIT-lightgrey.svg?style=flat
)](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 :)
![alt tag](https://github.com/PhilippeBoisney/LinearProgressBar/raw/master/demo.gif)
## 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)