NSArray 查询数组中的对象
1.NSString 对象
NSArray *array =@["123", @"234" , @"345"];
NSPredicate *predicate = [NSPredicate predicateWithFormat:@"SELF contains [cd] %@", "2"];
NSArray *filterdArray = [array filterdArrayUsingP
转载
2014-11-21 12:51:58 ·
408 阅读 ·
0 评论