Skip to content

Instantly share code, notes, and snippets.

@welbesw
Created June 7, 2016 17:36
Show Gist options
  • Save welbesw/f446fb3761ba9daa23797eb452b9a3a6 to your computer and use it in GitHub Desktop.
Save welbesw/f446fb3761ba9daa23797eb452b9a3a6 to your computer and use it in GitHub Desktop.
@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
var window: UIWindow?
override init() {
super.init()
//Setup the SalesforceManager
SalesforceManager.sharedInstance.setupSDKManager()
}
func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
// Override point for customization after application launch.
//Launch the salesforce SDK
SalesforceManager.sharedInstance.launch()
return true
}
//..
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment