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

trouble setting buttonTextColor #14

Open
jonathan3087 opened this issue Dec 15, 2017 · 0 comments
Open

trouble setting buttonTextColor #14

jonathan3087 opened this issue Dec 15, 2017 · 0 comments

Comments

@jonathan3087
Copy link

My code is:

let alert = PCLBlurEffectAlertController(title: title,
message: message,
effect: UIBlurEffect(style: .extraLight),
style: .alert)

alert.configure(buttonFont: UIFont.systemFont(ofSize: 24),
buttonTextColor: Constant.SLS_SECONDARY_COLOR,
buttonDisableTextColor: Constant.SLS_DISABLED_COLOR)

Getting error on the highlighted part that says,
Cannot convert value of type 'UIFont' to expected argument type '[PCLBlurEffectAlert.ActionStyle : UIFont]?'

Please help, I don't understand what this error means or how to fix.

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

1 participant