In my Core Data app, I have an entity Person (which has a fullname attribute). The simplest way of searching for a name is to make the predicate search through the fields:
[predicateArray addObject:[NSPredicate predicateWithFormat:@"fullname CONTAINS[cd] %@", searchString]];
But from what I've picked up, this is a regex search that can be expensive, especially if you want to enable live searching (i.e. search while you type) and if the list is very big. Is there some better way of doing this search? Can you transform the fullName somehow to make it quicker to search on?