基于下面的数据模型根据用户输入,我创建了一个名为selectedTags的实体标签的managedObjectsNSSet。我的问题:[NSPredicatepredicateWithFormat:@"ANYentryTagsIN%@",selectedTags];...这将返回任何条目,其中至少有一个entryTag在selectedTags集中。我想要的是:[NSPredicatepredicateWithFormat:@"ALLentryTagsIN%@",selectedTags];...注意唯一的变化是“任何”到“全部”。这说明了我想要的,但不起作用。制定我期望的结果:我正在
基于下面的数据模型根据用户输入,我创建了一个名为selectedTags的实体标签的managedObjectsNSSet。我的问题:[NSPredicatepredicateWithFormat:@"ANYentryTagsIN%@",selectedTags];...这将返回任何条目,其中至少有一个entryTag在selectedTags集中。我想要的是:[NSPredicatepredicateWithFormat:@"ALLentryTagsIN%@",selectedTags];...注意唯一的变化是“任何”到“全部”。这说明了我想要的,但不起作用。制定我期望的结果:我正在