-
Notifications
You must be signed in to change notification settings - Fork 760
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
Swift 4 #359
Comments
for now, click on the error. It should show automatically what the new code should look like. Then run the app again. |
It doesn't support the duration now? |
hmm, i'm not with my macbook right now. I'll look into it this weekend. Hopefully someone else can do it sooner. |
Please update. Have always loved this library. Looking forward to Swift4 update |
I update the library for swift 4
|
Thanks @ahmedsafadii , but not fixing the duration issue. |
@rayhk6 what issue , I used it and it's amazing oO |
try replace both file with this :) |
@ahmedsafadii I still facing same issue for duration! |
@Piyush08 can you share your code or screen the problem ? |
@Piyush08 Please replace duration with timeout. It works for me. |
|
Hello @ahmedsafadii , Can't I use same format like as duration now? Just specify second & after that dismiss automatically. Rather than this adding button scenario. Thank you, |
|
still getting error as "Cannot assign to immutable expression of type 'SCLAlertView.SCLTimeoutConfiguration.ActionType.Type' (aka '(() -> ()).Type')" |
replace both file with this https://github.com/vikmeup/SCLAlertView-Swift/files/1336488/Archive.zip |
@ahmedsafadii I already replace this as you mentioned above |
@Piyush08 can you share the alert code here ^^" |
@Piyush08 the code please :3 |
@ahmedsafadii I already share as above image |
@Piyush08 ok give me a sec |
try this
|
It works! Thanks for your quick & great help! Happy coding! |
@Piyush08 np ;) |
So whats the workflow for adding this to a new Swift4 project now? |
@justdan0227 create PR with changes to support Swift4, I would be happy to merge it |
I used #351 link for my project. However, the duration function is no longer work. Please kindly help to fix. Thanks.
The text was updated successfully, but these errors were encountered: