SCLAlertView-Swift
SCLAlertView-Swift copied to clipboard
'appearance' is inaccessible due to 'internal' protection level
Updated to Swift 4 and I'm having trouble hiding the "Done" button. When using: alertView.appearance.showCloseButton = false I get the error message: 'appearance' is inaccessible due to 'internal' protection level
i had the same issue
same! :/
@luishar0 @abdallaMunzer @seenoevo The problem is that author @vikmeup insert class of appearance into SCLAlertView class as struct. Thus you can not customise you appearance after once you create it @vikmeup I do not want to enter in your current lib software engineering, but in your read.me file you say that:
while being flexible enough for multiple variations
So why in latest versions you disabled flexibility of the lib. E.g. if I would like to create custom size for warning and success message, once I have default one for other messages types, I can not do this now.
I customised your lib for my needs and if you would like to see and review my improvements I am ready to sent PR in order to fix the issues above
FYI