Symbyoz
  • Documentations
  • News
    • Access to Private and Public S3 bucket
    • Create manual database Backup
    • Parse Live Query on Symbyoz
    • Symbyoz back-office "white mark"
    • Cloud Code is now available in a Console
  • Tutorials
    • How to create a new project
    • How to create a custom module
    • How to manage left menu
    • How to manage admin user rights
  • Source code examples
    • Connect to iOS app
    • Connect to Android app
    • Create & Save Object
    • Get Object
    • Delete Object
    • User Management
    • Queries
    • Subclasses
    • Cloud Code
Powered by GitBook
On this page

Was this helpful?

  1. Source code examples

Connect to iOS app

import Parse

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {

    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool
    {
        self.setupParse()
        return true
    }
    
    func setupParse()
    {
        Parse.setLogLevel(PFLogLevel.debug)
        Parse.enableLocalDatastore()
        let parseConfiguration = ParseClientConfiguration(block:
        {
            (ParseMutableClientConfiguration) -> Void in
            ParseMutableClientConfiguration.applicationId = "xxxxxxxxxx"
            ParseMutableClientConfiguration.clientKey = "yyyyyyyyy"
            ParseMutableClientConfiguration.server = "https://xxxx.parse-symbyoz.com/parse"
            ParseMutableClientConfiguration.isLocalDatastoreEnabled = true
        })
        Parse.initialize(with: parseConfiguration)
    }
}




    

PreviousHow to manage admin user rightsNextConnect to Android app

Last updated 6 years ago

Was this helpful?