I have:
self.path = [self pathByCopyingFile:@"Notes List.plist"];
self.data = [[NSMutableDictionary alloc] initWithContentsOfFile:self.path];
self.notes = [self.data objectForKey:@"Notes"];
Then in a button (Button method definitely gets called):
NSString *title = self.navigationItem.title;
//Filter notes array by title
NSPredicate *pred = [NSPredicate predicateWithFormat:@"Title =[cd] %@", title];
NSArray * titleArray = [self.notes filteredArrayUsingPredicate:pred];
//delete all the notes with the old title name
[self.notes removeObject:titleArray];
NSLog(@"%@", self.notes);
At this point, self.notes still contains the items and i dont know why they arnt being removed