Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/janeshsutharios/jkcircularprogess
- Owner: janeshsutharios
- License: mit
- Created: 2018-01-02T12:09:05.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-03-06T04:27:50.000Z (almost 7 years ago)
- Last Synced: 2024-11-18T04:13:47.239Z (about 2 months ago)
- Topics: circular-progress-bar, ios, progress-bar, swift, xcode
- Language: Swift
- Size: 138 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)}
```