let dict1:NSMutableDictionary = ["no": "10", "name": "Joy" ,"age":39]
let dict2:NSMutableDictionary = ["no": "33", "name": "Lily" ,"age":30]
let dict3:NSMutableDictionary = ["no": "19", "name": "Candy","age":22]
var arrPoint = [Any]()
arrPoint.append(dict1)
arrPoint.append(dict2)
arrPoint.append(dict3)
排序的NSMutableDictionary如何在沒有元素進行排序?斯威夫特3
結果如下:
no = 10 , name = Joy
no = 19 , name = Candy
no = 33 , name = Lily