Skip to content

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

Open
pikachu987 wants to merge 2 commits intotaglia3:masterfrom
pikachu987:master
Open

Hello I added the ability to change the background color I want#10
pikachu987 wants to merge 2 commits intotaglia3:masterfrom
pikachu987:master

Conversation

@pikachu987
Copy link
Copy Markdown

@pikachu987 pikachu987 commented Dec 28, 2016

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 pikachu987 changed the title Hello I've added the features I want Hello I added the ability to change the background color I want Dec 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant