TestsTested | ✗ |
LangLanguage | SwiftSwift |
License | MIT |
ReleasedLast Release | May 2016 |
SPMSupports SPM | ✗ |
Maintained by Sanjay.
To run the example project, clone the repo, and run pod install
from the Example directory first.
ARC iOS8
MultiColorCircleView is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "MultiColorCircleView"
import MultiColorCircleView Add an outlet @IBOutlet weak var multiColorCircleView: MultiColorCircleView!
Change the colors and percentages. The colors count must be equal to the percentages count. First Percentage value corresponds to the first color value. The colors will be filled based on the corresponding percentage value.
multiColorCircleView.colors = [UIColor.grayColor(), UIColor.orangeColor(), UIColor.magentaColor(), UIColor.yellowColor()] multiColorCircleView.percentages = [0.25, 0.5, 0.125, 0.125]
Sanjay, [email protected]
MultiColorCircleView is available under the MIT license. See the LICENSE file for more info.