Re: NSPredicate predicateWithFormat:

2008-10-24 Thread Keary Suska
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 predicateWithFormat: @Name IN %@, namesArray]; NSMutableArray

NSPredicate predicateWithFormat:

2008-10-23 Thread chaitanya pandit
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: @Name IN %@, namesArray]; NSMutableArray *foundNames

NSPredicate predicateWithFormat:

2008-10-23 Thread chaitanya pandit
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: @Name IN %@, namesArray]; NSMutableArray *foundNames

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 *foundNames = [[arrayController arrangedObjects

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:predicate]; It works but he problem is that i have