Skip to content

Instantly share code, notes, and snippets.

@stansidel
Last active March 27, 2016 06:31
Show Gist options
  • Save stansidel/09e3409ab848424dc178 to your computer and use it in GitHub Desktop.
Save stansidel/09e3409ab848424dc178 to your computer and use it in GitHub Desktop.
Parse Server initialisation in iOS as told on Udemy
let parseConfiguration = ParseClientConfiguration(block: { (ParseMutableClientConfiguration) -> Void in
ParseMutableClientConfiguration.applicationId = "myAppId"
ParseMutableClientConfiguration.clientKey = "myMasterKey" // This is wrong! Never put your master key into the sources.
ParseMutableClientConfiguration.server = "https://anotherdarntest.herokuapp.com/parse"
})
Parse.initializeWithConfiguration(parseConfiguration)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment