You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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?
The text was updated successfully, but these errors were encountered: