@@ -60,12 +60,12 @@ + (instancetype)configurationWithBlock:(void (^)(id<ParseMutableClientConfigurat
6060// /--------------------------------------
6161
6262- (void )setApplicationId : (NSString *)applicationId {
63- PFConsistencyAssert (applicationId.length , @" 'applicationId' should not be nil." );
63+ PFParameterAssert (applicationId.length , @" 'applicationId' should not be nil." );
6464 _applicationId = [applicationId copy ];
6565}
6666
6767- (void )setClientKey : (NSString *)clientKey {
68- PFConsistencyAssert (clientKey.length , @" 'clientKey' should not be nil." );
68+ PFParameterAssert (clientKey.length , @" 'clientKey' should not be nil." );
6969 _clientKey = [clientKey copy ];
7070}
7171
@@ -76,18 +76,18 @@ - (void)setServer:(NSString *)server {
7676}
7777
7878- (void )setApplicationGroupIdentifier : (NSString *)applicationGroupIdentifier {
79- PFConsistencyAssert (applicationGroupIdentifier == nil ||
80- [PFFileManager isApplicationGroupContainerReachableForGroupIdentifier: applicationGroupIdentifier],
81- @" ApplicationGroupContainer is unreachable. Please double check your Xcode project settings." );
79+ PFParameterAssert (applicationGroupIdentifier == nil ||
80+ [PFFileManager isApplicationGroupContainerReachableForGroupIdentifier: applicationGroupIdentifier],
81+ @" ApplicationGroupContainer is unreachable. Please double check your Xcode project settings." );
8282
8383 _applicationGroupIdentifier = [applicationGroupIdentifier copy ];
8484}
8585
8686- (void )setContainingApplicationBundleIdentifier : (NSString *)containingApplicationBundleIdentifier {
87- PFConsistencyAssert ([PFApplication currentApplication ].extensionEnvironment ,
88- @" 'containingApplicationBundleIdentifier' cannot be set in non-extension environment" );
89- PFConsistencyAssert (containingApplicationBundleIdentifier.length ,
90- @" 'containingApplicationBundleIdentifier' should not be nil." );
87+ PFParameterAssert ([PFApplication currentApplication ].extensionEnvironment ,
88+ @" 'containingApplicationBundleIdentifier' cannot be set in non-extension environment" );
89+ PFParameterAssert (containingApplicationBundleIdentifier.length ,
90+ @" 'containingApplicationBundleIdentifier' should not be nil." );
9191
9292 _containingApplicationBundleIdentifier = containingApplicationBundleIdentifier;
9393}
0 commit comments