nspredicate

Searching results are always 0 (NSArray and NSPredicate)

I have an NSArray which holds Foo objects defined like so: @interface Foo : NSObject <NSCopying> { NSString *name; } @property (nonatomic, retain) NSString *name; @end and the query: NSPredicate *filterPredicate = [NSPredicate predicateWithFormat:@"name BEGINSWITH[cd] %@", filterString]; //NSPredicate *filterPredicate = [NSPredic...