-
Notifications
You must be signed in to change notification settings - Fork 761
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
Instance property "appearance" is not public #179
Comments
let appearance = SCLAlertView.SCLAppearance(
showCloseButton: false
)
let alertView = SCLAlertView(appearance: appearance)
alertView.showSuccess("No button", subTitle: "You will have hard times trying to close me") That's the right way to use it. |
Hi, with SCLAlertView 0.5.6 implemented with cocoapods 1.0 the code
give me the following error
Any idea why? thx, dk |
@d4kr can you try it again? let me know |
It is not working, I'm getting the same error saying that there is no member |
@vikmeup And I tried reinstalling the pod, cleaning the project, relaunching Xcode, restarting my Mac and all the other tricks, but no result. :/ |
@ossmalpha have you tried Example Project? |
anyone able to fix the Type SCLAlertView has no member SCLAppearance error? I just started getting it now too in a new project. |
The new
appearance
variable is not public, thus making the need to explicitly set it on init instead of giving the option to later change it. Is that on purpose?I would have expected to be able to do something like this
But that doesn't work and instead I have to do this:
which feels cumbersome.
The text was updated successfully, but these errors were encountered: