Latest 0.1.5
Homepage https://github.com/CityTransit/NicoProgress
License MIT
Platforms ios 8.0
Authors

Version
License
Platform

iOS implementation of the material progress bars described by Google here.

About

I needed a simple Material Design progress bar, with both determinate and indeterminate states, for a project I was working on. No other Pod I looked at supported both these features; and they did not respond well to resizes, or being added via Interface Builder.

Example GIF

Usage

Use NicoProgressBar in your nib or add it programmatically as a subview.

Colors

progressBar.primaryColor = .blue
progressBar.secondaryColor = .white

Set Progress

progressBar.transition(to: .determinate(percentage: 0.5))

Indeterminate

progressBar.transition(to: .indeterminate)

State

let state = progressBar.state

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

iOS Deployment Target >= 8.0
Swift 3.2 or 4

Installation

NicoProgress is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod 'NicoProgress'

Author

Nicolas Richard, [email protected]

License

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

Latest podspec

{
    "name": "NicoProgress",
    "version": "0.1.5",
    "summary": "Simple linear progress bar for indeterminate and determinate progress",
    "description": ""A simple material UI progress bar. For indeterminate and linear progress. Supporting both programmatic and storyboard initialization."",
    "homepage": "https://github.com/CityTransit/NicoProgress",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Nicolas Richard": "[email protected]"
    },
    "source": {
        "git": "https://github.com/CityTransit/NicoProgress.git",
        "tag": "0.1.5"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "NicoProgress/Classes/**/*"
}

Pin It on Pinterest

Share This