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

Swift project: pod installation issue: #100

Open
icetimechris opened this issue May 20, 2015 · 1 comment
Open

Swift project: pod installation issue: #100

icetimechris opened this issue May 20, 2015 · 1 comment

Comments

@icetimechris
Copy link

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
Copy link

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?

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

2 participants