I am trying to figure out how to setup a UILocalNotification in swift but I am not having a lot of luck. I am trying this:
var notification = UILocalNotification
Not answering your question but worth the note:
notification.fireDate(dateTime)
notification.alertBody("Test")
will also throw a compiler error saying that it can't find the init. do this instead
notification.fireDate = NSDate(timeIntervalSinceNow: 15)
notification.alertBody = "Notification Received"