ParseMutableClientConfiguration

@protocol ParseMutableClientConfiguration <NSObject>

The ParseMutableClientConfiguration represents a ParseClientConfiguration object that can be mutated.

It is only usable during the execution of the block passed to ParseClientConfiguration.+configurationWithBlock:, during which time you should set your properties on it, similar to the following:

configuration.applicationId = @"<#YOUR APPLICATION ID#>"
configuration.clientKey = @"<#YOUR CLIENT KEY#>"
configuration.localDatastoreEnabled = true
  • The Parse.com application id to configure the SDK with.

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic, nullable) NSString *applicationId;
  • The Parse.com client key to configure the SDK with.

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic, nullable) NSString *clientKey;
  • The URL of the server that is being used by the SDK. Defaults to https://api.parse.com/1.

    Note

    Setting this property to a non-valid URL or nil will throw an NSInvalidArgumentException.

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic) NSString *_Nonnull server;
  • Whether or not to enable pinning in the SDK.

    The default value is NO.

    Declaration

    Objective-C

    @property (getter=isLocalDatastoreEnabled, assign, readwrite, nonatomic)
        BOOL localDatastoreEnabled;
  • When set, enables data sharing with an application group identifier.

    After enabling - Local Datastore, PFUser.+currentUser, PFInstallation.+currentInstallation and all eventually commands are going to be available to every application/extension in a group that have the same Parse applicationId.

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic, nullable)
        NSString *applicationGroupIdentifier;
  • When set, controls the bundle identifier of the parent bundle to connect to.

    Warning

    This property should only be set from inside an extension environment.

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic, nullable)
        NSString *containingApplicationBundleIdentifier;
  • The maximum number of retry attempts to make upon a failed network request.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) NSUInteger networkRetryAttempts;