Latest 0.0.4
Homepage https://github.com/vinothvino42/VVCircleProgressBar
License MIT
Platforms ios 10.0
Frameworks UIKit
Authors

Pod Version
Swift 4.2
Twitter: @vinothvino42

A custom pulse animating circle progress bar.

Preview

VVCircleProgressBar1
VVCircleProgressBar2

Installation

You can install this circle progress bar in two ways.

1. CocoaPods

VVCircleProgressBar is available through Cocoapods. To install it, simply add the following line to your Podfile.

pod 'VVCircleProgressBar'

2. Manually

Download and copy VVCircleProgressBar/VVCircleProgressBar.swift file to your project.

Usage

VVCircleProgressBar can be instantiated programmatically.

let progressBar = VVCircleProgressBar()
progressBar.center = self.view.center
self.view.addSubview(progressBar)

Customize

You can customize the progress bar color, text font and text color

  • Progress Text
progressBar.textColor = UIColor.white
progressBar.font = UIFont(name: "HelveticaNeue-Bold", size: 24)!
  • Progress Bar Color
progressBar.pulseColor = UIColor.pulseFillColor
progressBar.progressColor = UIColor.outlineStrokeColor
progressBar.trackStrokeColor = UIColor.trackStrokeColor
progressBar.trackFillColor = UIColor.backgroundColor
  • Size of Progress Bar
progressBar.progressLayerWidth = 20
progressBar.trackLayerWidth = 20
progressBar.pulseLayerWidth = 1.3

To start pulse animation

progressBar.startPulseAnimation()

To stop pulse animation

progressBar.stopPulseAnimation()

License

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

Author

Latest podspec

{
    "name": "VVCircleProgressBar",
    "version": "0.0.4",
    "summary": "A custom circle progress bar with pulse animation.",
    "description": "VVCircleProgressBar is a pulse animating custom progress bar.",
    "homepage": "https://github.com/vinothvino42/VVCircleProgressBar",
    "screenshots": [
        "https://github.com/vinothvino42/VVCircleProgressBar/raw/master/Preview/VVCircleProgressBar1.png",
        "https://github.com/vinothvino42/VVCircleProgressBar/raw/master/Preview/VVCircleProgressBar2.png"
    ],
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Vinoth Vino": "[email protected]"
    },
    "social_media_url": "http://twitter.com/vinothvino42",
    "platforms": {
        "ios": "10.0"
    },
    "source": {
        "git": "https://github.com/vinothvino42/VVCircleProgressBar.git",
        "tag": "v0.0.4"
    },
    "source_files": "VVCircleProgressBar/VVCircleProgressBar.swift",
    "frameworks": "UIKit",
    "pushed_with_swift_version": "4.2"
}

Pin It on Pinterest

Share This