Skip to content

Update starter projects to use the new initialization API that exposes changing the server URL. #929

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ihomecall opened this issue May 29, 2016 · 2 comments
Labels
type:feature New feature or improvement of existing feature
Milestone

Comments

@ihomecall
Copy link

No description provided.

@bre7
Copy link

bre7 commented May 31, 2016

From the docs:

If you haven't installed the SDK yet, please head over to the QuickStart guide to get our SDK up and running in Xcode.
https://www.parse.com/apps/quickstart#parse_data/mobile/ios/native/new

let configuration = ParseClientConfiguration {
    $0.applicationId = "AAAAAA"
    $0.clientKey     = "BBBBBB"
    $0.server        = "https://some.url/parse"
    // Other settings
    $0.localDatastoreEnabled = false
    // The maximum number of retry attempts to make upon a failed network request.
    $0.networkRetryAttempts = 2 // 4 by default
}
Parse.initializeWithConfiguration(configuration)

Edit: Added extra settings.

@nlutsenko
Copy link
Contributor

That should do the trick! Thanks for bringing this up!
We also would love to update the starter projects to use the new API for setting the server up.
I am going to track this using this issue, so we can act on it.

@nlutsenko nlutsenko self-assigned this May 31, 2016
@nlutsenko nlutsenko changed the title anyone knows where is the location to set the parse serverurl in this sdk? Update starter projects to use the new initialization API that exposes changing the server URL. May 31, 2016
@nlutsenko nlutsenko added this to the 1.14.0 milestone May 31, 2016
@mtrezza mtrezza added type:feature New feature or improvement of existing feature and removed type:improvement labels Dec 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:feature New feature or improvement of existing feature
Projects
None yet
Development

No branches or pull requests

4 participants