Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/janeshsutharios/jkcircularprogess

JKCircularProgess for showing circular animated progress
https://github.com/janeshsutharios/jkcircularprogess

circular-progress-bar ios progress-bar swift xcode

Last synced: about 2 months ago
JSON representation

JKCircularProgess for showing circular animated progress

Awesome Lists containing this project

README

        

# JKCircularProgess
JKCircularProgess for showing circular animated progress

## Features
- You can select half circle, full circle or as per your use case angle.
- It's customisable using **`@IBInspectable`**


You can select Line width, Animation duration, Track color & circleColor from the Attribute inspector

- Or can also select programetically as below -

## Example usage

```
@IBOutlet weak var customJKView: JKCircleView!

override func viewDidLoad() {
customJKView.animationDuration = 3
customJKView.lineWidth = 10
customJKView.isToRemoveLayerAfterCompletion = true
}
@IBAction func tapsDrawCircle(_ sender: UIButton) {
addFullCircleView()
}
///angle = 1 is 360 degree, angle = 0.5 is 180 degree --set as your use case 0 < angle <1
func addFullCircleView() {
customJKView.animateCircle(angle: 1)

}

```