Archive for June, 2014

Apple Swift

By admin | Uncategorized

This Syntax did not work, function didn’t get called.     func applicationDidRegisterForRemoteNotificationsWithDeviceToken(deviceToken: NSData){ NSLog(“My token is: %@”, deviceToken) } This works: func application(application: UIApplication, didRegisterForRemoteNotificationsWithDeviceToken deviceToken: NSData!) { NSLog(“My token is: %@”, deviceToken) }