Latest 0.9.5
License MIT
Platforms ios 8.0, requires ARC
Frameworks UIKit

HorizontalProgressView in swift


pod 'HorizontalProgressView', :git => '', :tag => '0.9.5'


Add UIView in your storyboard and change class to HorizontalGraphBar

You can configure the UIView directly in the storyboard using these IBInspectable variables:

@IBInspectable public var progressValue: Float
@IBInspectable public var progressColor: UIColor

In your UIViewController subclass:

@IBOutlet weak var horizontalBar: HorizontalGraphBar!

//value between 0 and 100
func update(progress: Float) {
  horizontalBar.progressColor = progress < 50 ? LowColor : HighColor
  horizontalBar.progressValue = adhrenceValue


alt tag

I will make this repo public soon. For feedback or suggestions submmit an issue.

Latest podspec

    "name": "HorizontalProgressView",
    "version": "0.9.5",
    "summary": "Horizontal progress view made in in swift.",
    "description": "Horizontal progress view made in swift. Is easily customizable in the storyboard",
    "homepage": "",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    "authors": {
        "bphenriques": "[email protected]"
    "social_media_url": "",
    "platforms": {
        "ios": "8.0"
    "source": {
        "git": "",
        "tag": "0.9.5"
    "source_files": "HorizontalProgressBar/**/*.{swift}",
    "frameworks": "UIKit",
    "requires_arc": true

Pin It on Pinterest

Share This