A Circular progress bar with a progress thumb(icon) written in pure Swift. Customise your own thumb images to the Circular progress bar.
- Customise thumb images
- Increase/decrease the width of inner/outer ring
- Customize inner/outer ring colors
- Customize Start / End angle
- Add Image / Text (with unit of measurement) at the centre
- Animating text
- iOS 8.0+
- Xcode 7.3
You can use CocoaPods to install KXThumbCircularProgressBar by adding it to your podfile
pod 'KXThumbCircularProgressBar', '~> 0.0.6'
And import the header and use it in the ViewController where you want to use this framework
import KXThumbCircularProgressBar
Drag and drop a UIView in your storyboard and change the class of UIView like below
Create the IBOutlet and initiate the progress animation
@IBOutlet weak var kx: KXThumbCircularProgressBar!
override func viewDidLoad() {
super.viewDidLoad()
kx.animateScale = 0.75 //value between 0 to 1
}
- Enabling this framework programmatically
Distributed under MIT license. Please see LICENSE file.