我有一个包含 NSMutableDictionary 值的 NSMutableArray。我必须确定 NSMutableArray 中是否存在特定的字典值?
NSMutableArray:
表数据:
{
{
categories = 267;
"category_ids" = 267;
"created_at" = "2012-04-18 05:32:10";
"custom_design_from" = "2010-12-03 00:00:00";
}
{
categories = 267;
"category_ids" = 267;
"created_at" = "2012-04-18 05:32:10";
"custom_design_from" = "2010-12-03 00:00:00";
}
}
我必须确定一个特定的字典值。
我的代码:
if ( [tableData containsObject:[appDelegate.Product objectAtIndex:i]] )
{
// Return Always false...
}