Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

C19

  • Loading branch information...
commit bb9c70b253ddcb2cda8490688df68fed5ae0836c 1 parent 89c78bc
authored August 26, 2009

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  C19-CoreData/00-Intro/main.m
4  C19-CoreData/00-Intro/main.m
@@ -142,8 +142,8 @@ - (void) removeObjects
142 142
 		if (person.department.manager == person) person.department.manager = nil;
143 143
 
144 144
 		// remove person from department
145  
-		NSPredicate *pred = [NSPredicate predicateWithFormat:@"SELF != %@", person];
146  
-		if (person.department.members) person.department.members = [person.department.members filteredSetUsingPredicate:pred];
  145
+		// NSPredicate *pred = [NSPredicate predicateWithFormat:@"SELF != %@", person];
  146
+		// if (person.department.members) person.department.members = [person.department.members filteredSetUsingPredicate:pred];
147 147
 
148 148
 		// delete the person object
149 149
 		[self.context deleteObject:person];

0 notes on commit bb9c70b

Please sign in to comment.
Something went wrong with that request. Please try again.