我有一个NSMutableArray
名字是 xyz 并且每个元素都array
包含 individual Dictionary
。我想对这个主要Dictionary
的例如结构进行排序:
$0 = 0x0963e730 <__NSArrayM 0x963e730>(
{
accuracy = 0;
context = 0;
dateupload = 1382375073;
description = {
"_content" = "";
};
farm = 4;
id = 10406310594;
isfamily = 0;
isfriend = 0;
ispublic = 1;
latitude = 0;
longitude = 0;
owner = "35744@N03";
ownername = abc;
secret = f9fd3;
server = 3830;
tags = "";
title = 17740013;
},
{
accuracy = 0;
context = 0;
dateupload = 1382375072;
description = {
"_content" = "";
};
farm = 8;
id = 10406317735;
isfamily = 0;
isfriend = 0;
ispublic = 1;
latitude = 0;
longitude = 0;
owner = "35944@N03";
ownername = abc;
secret = 9665d3ec;
server = 74;
tags = "vision:food=0635";
title = 01200033;
},
我想按标题对这个数组进行排序;
我使用 LinqToObjectiveC-master 库但启用排序。
对此解决方案的帮助,非常感谢简单的解决方案。