I'm trying to use NSArray's filteredArrayUsingPredicate: method to filter an array of core data managed-objects. Here's an outline:
NSArray *array = self.fetchedResultsController.fetchedObjects;
NSPredicate *predicate = [NSPredicate
predicateWithFormat:@"name contains[c] %@", searchString];
NSArray *filteredArray = [array filteredArrayUsingPredicate:predicate];
This is always returning an empty 'filteredArray'? I'm guessing it's my predicate, but I know the objects in 'array' are managed objects with a key called "name". The value of 'searchString' is okay and I have run performFetch: before.