@@ -60,12 +60,12 @@ + (instancetype)configurationWithBlock:(void (^)(id<ParseMutableClientConfigurat
60
60
// /--------------------------------------
61
61
62
62
- (void )setApplicationId : (NSString *)applicationId {
63
- PFConsistencyAssert (applicationId.length , @" 'applicationId' should not be nil." );
63
+ PFParameterAssert (applicationId.length , @" 'applicationId' should not be nil." );
64
64
_applicationId = [applicationId copy ];
65
65
}
66
66
67
67
- (void )setClientKey : (NSString *)clientKey {
68
- PFConsistencyAssert (clientKey.length , @" 'clientKey' should not be nil." );
68
+ PFParameterAssert (clientKey.length , @" 'clientKey' should not be nil." );
69
69
_clientKey = [clientKey copy ];
70
70
}
71
71
@@ -76,18 +76,18 @@ - (void)setServer:(NSString *)server {
76
76
}
77
77
78
78
- (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." );
82
82
83
83
_applicationGroupIdentifier = [applicationGroupIdentifier copy ];
84
84
}
85
85
86
86
- (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." );
91
91
92
92
_containingApplicationBundleIdentifier = containingApplicationBundleIdentifier;
93
93
}
0 commit comments