我有一个这样的数组:
NSArray* myArray=[NSArray arrayWithObjects:
[NSDictionary dictionaryWithObjectsAndKeys:@"123",@"imageid",@"Jeff",@"imagename", nil],
[NSDictionary dictionaryWithObjectsAndKeys:@"234",@"imageid",@"Sophie",@"imagename", nil],
[NSDictionary dictionaryWithObjectsAndKeys:@"456",@"imageid",@"David",@"imagename", nil]
, nil];
我想得到一个目标数组,其中包含:
{ 123,234,456 }
如何使用NSPredicate
?</p>