我有一个结构如下的数组:
(
{
displayFlag = "<null>";
displaySize = 0;
name = "Faith Stretch Bracelets-Display Unit";
price = "19.99";
sku = "KARG-ACJE-100001-9999";
status = received;
upc = 722950218860;
},
{
displayFlag = "<null>";
displaySize = 0;
name = "Faith Stretch Bracelets";
price = "19.99";
sku = "KARG-ACJE-100002-9999";
status = "received,created";
upc = 722950218867;
}
)
我正在以这种方式进行预测搜索而无法获得结果:
filteredFmdbArray =
[[fmdbArrayAdjust[i] allValues] filteredArrayUsingPredicate:[NSPredicate predicateWithFormat:@"SELF contains[cd]%@",text]];
这里:
如何修改搜索语句以获得结果。我希望在&#34; name&#34;。
的基础上获得搜索结果