Permalink
Browse files

C19

  • Loading branch information...
1 parent 89c78bc commit bb9c70b253ddcb2cda8490688df68fed5ae0836c Erica Sadun committed Aug 26, 2009
Showing with 2 additions and 2 deletions.
  1. +2 −2 C19-CoreData/00-Intro/main.m
@@ -142,8 +142,8 @@ - (void) removeObjects
if (person.department.manager == person) person.department.manager = nil;
// remove person from department
- NSPredicate *pred = [NSPredicate predicateWithFormat:@"SELF != %@", person];
- if (person.department.members) person.department.members = [person.department.members filteredSetUsingPredicate:pred];
+ // NSPredicate *pred = [NSPredicate predicateWithFormat:@"SELF != %@", person];
+ // if (person.department.members) person.department.members = [person.department.members filteredSetUsingPredicate:pred];
// delete the person object
[self.context deleteObject:person];

0 comments on commit bb9c70b

Please sign in to comment.