标签:
int i = 0;
NSArray *keys = [dict allKeys];
NSArray *sortedArray = [keys sortedArrayUsingComparator:^NSComparisonResult(id obj1, id obj2) {
return [obj1 compare:obj2 options:NSNumericSearch];
}];
for (NSString *categoryId in sortedArray) {
??
NSLog(@"[dict objectForKey:categoryId] === %@",[dictobjectForKey:categoryId]);
}
标签:
原文地址:http://www.cnblogs.com/as5346/p/4490904.html