¡@

Home 

2014/10/15 ¤U¤È 10:05:30

iphone Programming Glossary: contactuid

Crash using Aggregate Operation: “ALL” in a Core Data iOS Application

http://stackoverflow.com/questions/5922139/crash-using-aggregate-operation-all-in-a-core-data-ios-application

a string field that I used to uniquely identify contact entities NSPredicate predicateWithFormat @ ALL contacts.uid @ contactUId According to Apple's Predicate Programming Guide the ALL aggregate operation is valid but I get the following exception.. that I have all of the relationships and fields defined properly. NSPredicate predicateWithFormat @ ANY contacts.uid @ contactUId The exception is thrown when constructing the predicate and not when I'm trying to actually execute the fetch request so.. predicate share improve this question The basic syntax is fine. This compiles and runs in my test NSString contactUId @ steve NSPredicate p NSPredicate predicateWithFormat @ ALL contacts.uid @ contactUId NSLog @ p @ p p ALL contacts.uid steve..