3

I'm trying to use this great library https://github.com/codestergit/SweetAlert-iOS

I'm managed to use it in Objective-C (it's coded in Swift) but is not working. My code is this.

SweetAlert* alert = [[SweetAlert alloc] init];
[alert showAlert:@"Hello"];

Not only the alert is not shown, but the other methods the .Swift has like "showAlert with subtitile" and many more are not exposed.

Did anyone manage yo make it work?

MarBVI
  • 811
  • 2
  • 12
  • 34
  • Does your code compile and link ? – Starscream Feb 04 '15 at 14:54
  • @Starscream Yup, it compiles perfectly fine... – MarBVI Feb 04 '15 at 15:44
  • Apparently there's an [open issue](https://github.com/codestergit/SweetAlert-iOS/issues/5) about this on their github repo. Maybe this comes from their side. Try following the issue. – Starscream Feb 04 '15 at 15:47
  • @Starscream Yeah i saw it, but it was posted like 15 days ago and no answer, that's why i asked here, maybe someone managed to fix ir or something. Ty anyway :) – MarBVI Feb 04 '15 at 15:55

0 Answers0