Sumi-Interactive / SIAlertView

An UIAlertView replacement with block syntax and fancy transition styles.
MIT License
2.51k stars 424 forks source link

Swift project: pod installation issue: #100

Open icetimechris opened 9 years ago

icetimechris commented 9 years ago

How to use SIAlertView in swift? There is one question mark after the SIAlertView. And can not use the SIAlertView in the swift file.

zdesiree commented 9 years ago

I'm using SIAlertView in my swift project in it works fine. Whether you use Cocoa Pod or copy the files manually, you have to import #import "SIAlertView.h" in your Bridging-Header. Then you can use it the following: var alertView: SIAlertView = SIAlertView(title: "Hello World", andMessage: "Works!") Which question mark do you mean?