CircularSpinner
CircularSpinner copied to clipboard
Hello I added the ability to change the background color I want
I needed to change the background color so I added a method to change the background color and the color of the Label
CircularSpinner.setBackgroundColor(UIColor.black) CircularSpinner.setLabelColor(UIColor.green)
open class func setLabelColor(_ color: UIColor){
let spinner = CircularSpinner.sharedInstance
spinner.titleLabel.textColor = color
}
open class func setBackgroundColor(_ color: UIColor){
let spinner = CircularSpinner.sharedInstance
spinner.mainView.backgroundColor = color
}