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

xcode 8 ios 10 #39

Open
codeservis opened this issue Jul 2, 2016 · 4 comments
Open

xcode 8 ios 10 #39

codeservis opened this issue Jul 2, 2016 · 4 comments

Comments

@codeservis
Copy link

Gives that warnings !

ViewController.swift:32:22: Result of call to 'showAlert' is unused
ViewController.swift:38:22: Result of call to 'showAlert(_:subTitle:style:)' is unused

like this about 12 warnings

@kvnbautista
Copy link

@codeservis it does not affect anything, its basically just extra code that is not used. You can delete it if you want to.

@codeservis
Copy link
Author

if i delete them gives red warning

@siideffect
Copy link

Easy fix:

_ = self.showAlert(title, subTitle: subTitle, style: style, buttonTitle: "OK")

@NupendraVerma
Copy link

Easy fix:

_ = self.showAlert(title, subTitle: subTitle, style: style, buttonTitle: "OK")

thanks to fix this warning

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