Last active
March 2, 2016 03:54
-
-
Save vikdenic/88a9adae0f7d9384ae4d to your computer and use it in GitHub Desktop.
Backendless Course, App 1, Lecture 1, Step 5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class AppDelegate: UIResponder, UIApplicationDelegate { | |
| let APP_ID = "YOUR-APPLICATION-ID" | |
| let SECRET_KEY = "YOUR-APPLICATION-IOS-SECRET-KEY" | |
| let VERSION_NUM = "v1" | |
| var backendless = Backendless.sharedInstance() | |
| var window: UIWindow? | |
| func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool { | |
| backendless.initApp(APP_ID, secret:SECRET_KEY, version:VERSION_NUM) | |
| // If you plan to use Backendless Media Service, uncomment the following line (iOS ONLY!) | |
| // backendless.mediaService = MediaService() | |
| return true | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment