我是ios新手。
我有一个 NSMutableArray 的 NSDictionary。如何过滤数组?
//sections is a NSMutableArray of NSMutableDictionary elements
[sections addObject:getName];
NSSortDescriptor *sortDescriptorFirst = [NSSortDescriptor sortDescriptorWithKey:@"first" ascending:YES];
NSSortDescriptor *sortDescriptorLast = [NSSortDescriptor sortDescriptorWithKey:@"last" ascending:YES];
NSSortDescriptor *descriptor=[NSArray arrayWithObjects:sortDescriptorFirst,sortDescriptorLast,nil];
NSArray *sortedArray =[sections sortedArrayUsingDescriptors:descriptor];
如何从此处继续代码以将数组与正则表达式值匹配?