The situation:
I fetch a complete table from my sqllite core data database and show it in a TableView like this:
NSEntityDescriptio
If you have an entry object called entry, it would be a predicate like this:
NSPredicate *predicate = [NSPredicate predicateWithFormat: @"(SELF = %@)", entry];
Which is roughly equivalent to
NSPredicate *predicate = [NSPredicate predicateWithFormat: @"(objectID = %@)", entry.objectID];
For a NSManagedObjectID, you get something like:
NSPredicate *predicate = [NSPredicate predicateWithFormat: @"(objectID = %@)", myEntryID];