Tutorial detailing how to use Parse SDKs.
ACL | createdAt | objectId | updatedAt |
---|---|---|---|
There is no data in this class. |
Do you want to use a parse SDK with a parse server? Then just change your server URL with the Parse API url. For example, if you are using a parse server locally which is mounted at /parse, then url will be: iOS / OS X / watchOS / tvOS See the examples below to get a clear idea: For swift:
let configuration = ParseClientConfiguration {
$0.applicationId = "YOUR_APP_ID"
$0.clientKey = ""
$0.server = "http://localhost:1337/parse"
}
Parse.initialize(with: configuration)
For Objective-C
[Parse initializeWithConfiguration:[ParseClientConfiguration configurationWithBlock:^(id<ParseMutableClientConfiguration> configuration) {
configuration.applicationId = @"YOUR_APP_ID";
configuration.clientKey = @"";
configuration.server = @"http://localhost:1337/parse";
}]];
For Android
Parse.initialize(new Parse.Configuration.Builder(myContext)
.applicationId("YOUR_APP_ID")
.server("http://localhost:1337/parse/")
...
.build()
);
For JavaScript
Parse.initialize("YOUR_APP_ID");
Parse.serverURL = 'http://localhost:1337/parse'
For .NET
ParseClient.initialize(new ParseClient.Configuration {
ApplicationId = "YOUR_APP_ID",
Server = "http://localhost:1337/parse/"
});
For PHP
ParseClient::initialize('YOUR_APP_ID', 'YOUR_CLIENT_KEY', 'YOUR_MASTER_KEY');
ParseClient::setServerURL('http://localhost:1337', 'parse'); // server url & mount path passed separately