Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change the default color impossible #54

Open
Senocico opened this issue Jan 14, 2020 · 3 comments
Open

Change the default color impossible #54

Senocico opened this issue Jan 14, 2020 · 3 comments

Comments

@Senocico
Copy link

I couldn't change the default gray color in any way.
Is there an option?

@jaredmoskowitz
Copy link

jaredmoskowitz commented Mar 20, 2020

class CustomFaveButton: FaveButton {
    override init(frame: CGRect) {
        super.init(frame: frame)

        self.normalColor = UIColor.white
    }
}

@Prosquid1
Copy link

Prosquid1 commented Jul 15, 2020

Set isSelected to false in your viewDidLoad or cellForItemAt.
The normalColor you set on the storyboard will only take effect when toggled.

@agrawalsuneet
Copy link

I am facing the same problem. Both of the above solutions are not helping.

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

No branches or pull requests

4 participants