Inside the Interface Builder:
iOS Simulator:
Features
- Customizable width as well as color for business as well as edge of the outer/inner circle.
- Customizable text label.
- Customizable color, opacity, radius, as well as outset for shadow of the inner as well as outer circle
- Supports the iOS 8 adaptive layout
- You tin alter all of this inward the interface builder or inward runtime.
Example Usage In Runtime
circleView.outerRadius = xx circleView.oColor = UIColor(red: 244/255, green: 156/255, blue: 45/255, alpha: 1) circleView.percentage = 75 circleView.fontSize = 25 circleView.noOfDecimals = 0 circleView.animateCircle(1.0)
To drib dead the sample code, please see this site.
0 komentar:
Please comment if there are any that need to be asked.