Core Data NSPredicate “deleted == NO” does not work as expected
The problem is that you have defined an attribute deleted for your entity. That conflicts with the isDeleted method of NSManagedObject, so you should rename that attribute. The following “experiment” shows that strange things happen if you call your attribute “deleted” (c is a managed object with a custom deleted attribute): // Set custom “deleted” … Read more