在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
var cmptr:NSComparator = {(obj1:AnyObject!, obj2:AnyObject!) -> NSComparisonResult in if((obj1["sort"] as! NSString).integerValue > (obj2["sort"] as! NSString).integerValue) { return NSComparisonResult.OrderedDescending } if((obj1["sort"] as! NSString).integerValue < (obj2["sort"] as! NSString).integerValue) { return NSComparisonResult.OrderedAscending } return NSComparisonResult.OrderedSame }
|
请发表评论