【发布时间】:2013-07-24 21:40:06
【问题描述】:
我有这样的字典数组:
Array: (
{
customerUS= {
DisplayName = "level";
InternalName = "Number 2";
NumberValue = 1;
},
customerCAN= {
DisplayName = "PurchaseAmount";
InternalName = "Number 1";
NumberValue = 3500;
};
}
)
我想根据特定值而不是键来过滤字典。例如,我想要任何键值为 3500 的所有字典。有没有人知道我该怎么做?
非常感谢您的帮助。
【问题讨论】:
-
I suspect the answer you seek can be found in this question,但我不会深入调查以决定将您的问题标记为重复。
-
@MichaelDautermann 在您拥有的链接中通过键过滤,我不想要或不需要那个。我需要按值过滤
标签: ios nsarray nsdictionary