We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03d0886 commit 7fd62c2Copy full SHA for 7fd62c2
KVC Validation Pattern/KVC Validation Pattern/Model/Validation/CTCArrayTypeValidator.m
@@ -12,11 +12,6 @@
12
13
@implementation CTCArrayTypeValidator
14
15
-- (BOOL)validateValue:(id *)value error:(NSError **)error {
16
- _isValid = [*value isKindOfClass:[NSArray class]];
17
- return [super validateValue:value error:error];
18
-}
19
-
20
- (id)init {
21
self = [super init];
22
@@ -30,4 +25,9 @@ - (id)init {
30
25
return self;
31
26
}
32
27
28
+- (BOOL)validateValue:(id *)value error:(NSError **)error {
29
+ _isValid = [*value isKindOfClass:[NSArray class]];
+ return [super validateValue:value error:error];
+}
+
33
@end
0 commit comments