Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/iphone/38.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Iphone 预测问题_Iphone_Objective C_Ipad_Nspredicate - Fatal编程技术网

Iphone 预测问题

Iphone 预测问题,iphone,objective-c,ipad,nspredicate,Iphone,Objective C,Ipad,Nspredicate,我试着用核心数据应用NSPredicate,但是如何用类的NSMutableArray应用它呢 我的意思是:我有NSMutableArray包含类中具有字段的对象。例如,如何选择名为test的对象 另一个问题:我可以使用NSPredicate模拟以下SQL语句吗 where field1 in ('A', 'B') 如何选择名为test的对象 我可以使用NSPredicate模拟以下SQL语句吗 where field1 in ('A', 'B') 是的 如何选择名为test的对象 我可以使

我试着用核心数据应用
NSPredicate
,但是如何用类的
NSMutableArray
应用它呢

我的意思是:我有
NSMutableArray
包含类中具有字段的对象。例如,如何选择名为test的对象

另一个问题:我可以使用
NSPredicate
模拟以下SQL语句吗

where field1 in ('A', 'B')
如何选择名为test的对象

我可以使用
NSPredicate
模拟以下SQL语句吗

where field1 in ('A', 'B')
是的

如何选择名为test的对象

我可以使用
NSPredicate
模拟以下SQL语句吗

where field1 in ('A', 'B')
是的