codestergit / SweetAlert-iOS

Live animated Alert View for iOS written in Swift
MIT License
2.05k stars 303 forks source link

xcode 8 ios 10 #39

Open codeservis opened 8 years ago

codeservis commented 8 years ago

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 commented 8 years ago

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

codeservis commented 8 years ago

if i delete them gives red warning

siideffect commented 7 years ago

Easy fix:

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

NupendraVerma commented 5 years ago

Easy fix:

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

thanks to fix this warning