-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
Im trying to use the TTAlertView in a Swift project.
The .h is imported in the ObjC Bridge file, but the xcode complains of a build time error when Im trying to use like this:
let alert:TTAlertView = TTAlertView(title: "Oops", message: "Something is missing:\n" + errorMsg, delegate: nil, cancelButtonTitle: "OK", otherButtonTitles:nil)
The only way I can build is by removing the otherButtonTitles parameter
let alert:TTAlertView = TTAlertView(title: "Oops", message: "Something is missing:\n" + errorMsg, delegate: nil, cancelButtonTitle: "OK")
but this causes a run time crash
-[TTAlertView initWithTitle:message:delegate:cancelButtonTitle:]: unrecognized selector sent to instance 0x7fdffd2b7a20
Any ideias what is wrong?
Metadata
Metadata
Assignees
Labels
No labels