CircularSpinner icon indicating copy to clipboard operation
CircularSpinner copied to clipboard

Hello I added the ability to change the background color I want

Open pikachu987 opened this issue 8 years ago • 0 comments

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
  }

pikachu987 avatar Dec 28 '16 04:12 pikachu987