阅读背景:

使用嵌套字典按包含浮点数的字符串值对数组进行排序

来源:互联网 

What i have is

我拥有的是什么

NSSortDescriptor *sortDescriptorNearest = [NSSortDescriptor sortDescriptorWithKey:@"petrolStation.pointCoordinates.distance" ascending:YES];
_nearestList = (NSMutableArray *)[_gasStations sortedArrayUsingDescriptors:@[sortDescriptorNearest]];
NSSortDescriptor *so



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: