File tree 1 file changed +8
-8
lines changed
1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -50,8 +50,8 @@ - (void)dealloc {
50
50
}
51
51
52
52
- (NSArray *)objectsWithSubpredicates : (NSArray *)subpredicates
53
- type : (NSCompoundPredicateType )type
54
- error_p : (NSError **)error_p {
53
+ type : (NSCompoundPredicateType )type
54
+ error_p : (NSError **)error_p {
55
55
NSPredicate * compoundPredicate = nil ;
56
56
if (subpredicates) {
57
57
switch (type) {
@@ -67,7 +67,7 @@ - (NSArray*)objectsWithSubpredicates:(NSArray*)subpredicates
67
67
}
68
68
NSError * error = nil ;
69
69
NSFetchRequest * fetchRequest = [[NSFetchRequest alloc ] init ] ;
70
- NSManagedObjectContext * managedObjectContext = [self managedObjectContext ] ;
70
+ NSManagedObjectContext * managedObjectContext = [self managedObjectContext ] ;
71
71
NSArray * fetches = nil ;
72
72
if (managedObjectContext) {
73
73
[fetchRequest setEntity: [NSEntityDescription SSY_entityForName: [self entityName ]
@@ -113,10 +113,10 @@ - (NSArray*)objectsWithPredicate:(NSPredicate*)predicate
113
113
else {
114
114
subpredicates = nil ;
115
115
}
116
- NSArray * objects = [self objectsWithSubpredicates: subpredicates
117
- type: NSAndPredicateType
118
- error_p: error_p] ;
119
- return objects ;
116
+ NSArray * objects = [self objectsWithSubpredicates: subpredicates
117
+ type: NSAndPredicateType
118
+ error_p: error_p] ;
119
+ return objects ;
120
120
}
121
121
122
122
- (NSManagedObject *)objectWithPredicate : (NSPredicate *)predicate
@@ -332,4 +332,4 @@ - (NSURL*)deleteFileError_p:(NSError**)error_p {
332
332
return storeUrl ;
333
333
}
334
334
335
- @end
335
+ @end
You can’t perform that action at this time.
0 commit comments