ryanmaxwell / UIAlertView-Blocks

Category on UIAlertView to use inline block callbacks instead of delegate callbacks.
MIT License
425 stars 58 forks source link

Using in swift 2 gives an error #21

Open jlubeck opened 9 years ago

jlubeck commented 9 years ago
    UIAlertView.showWithTitle("LOCKED", message: "message", cancelButtonTitle: "OK,I'll keep playing", otherButtonTitles: "LET ME IN! ($0.99)") { (alertView, buttonIndex) -> Void in

    }

 'String' is not convertible to 'StringLiteralConvertible'

How can I fix this? Thanks!