Re: NSPredicate predicateWithFormat:

2008-10-24 Thread Keary Suska
e relevant code. On 23-Oct-08, at 11:33 PM, Keary Suska wrote: On Oct 23, 2008, at 11:05 AM, chaitanya pandit wrote: NSArray *namesArray = [NSArray arrayWithObjects:@"Tom" , @"Matt" , @"Joe", nil]; NSPredicate *predicate = [NSPredicate predicat

Re: NSPredicate predicateWithFormat:

2008-10-23 Thread chaitanya pandit
*namesArray = [NSArray arrayWithObjects:@"Tom" , @"Matt" , @"Joe", nil]; NSPredicate *predicate = [NSPredicate predicateWithFormat: @"Name IN %@", namesArray]; NSMutableArray *foundNames = [[arrayController arrangedObjects]filteredArrayUsingPredicate:predica

Re: NSPredicate predicateWithFormat:

2008-10-23 Thread Keary Suska
On Oct 23, 2008, at 11:05 AM, chaitanya pandit wrote: NSArray *namesArray = [NSArray arrayWithObjects:@"Tom" , @"Matt" , @"Joe", nil]; NSPredicate *predicate = [NSPredicate predicateWithFormat: @"Name IN %@", namesArray]; NSMutableArray *foundNam

NSPredicate predicateWithFormat:

2008-10-23 Thread chaitanya pandit
predicate which will look for the names in the given array within all the entities present in the array controller, NSArray *namesArray = [NSArray arrayWithObjects:@"Tom" , @"Matt" , @"Joe", nil]; NSPredicate *predicate = [NSPredicate predicateWithFormat: @"

NSPredicate predicateWithFormat:

2008-10-23 Thread chaitanya pandit
predicate which will look for the names in the given array within all the entities present in the array controller, NSArray *namesArray = [NSArray arrayWithObjects:@"Tom" , @"Matt" , @"Joe", nil]; NSPredicate *predicate = [NSPredicate predicateWithFormat: @"