It looks to me like what you're doing should work as you expect.  I don't think 
you are violating any of the predicate gotchas in Core Data Programming Guide ▸ 
Persistent Store Features.

So you need to experiment with different methods.  

• Remove the -setPredicate: statement.  Now is filteredPersons everything in 
the store, as expected, or still empty?
• Change the predicate to @"name == %@", @"Jones, A.", assuming that "Jones, 
A." is actually in the store.  Does it find Jones?
• TDry a predicate built by passing NSExpression objects, 
NSInPredicateOperatorType, etc. to +[NSPredicate 
predicateWithLeftExpression:rightExpression:modifier:type:options:]



_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to