I have an entity in my core data model like this:
@interface Selection : NSManagedObject
@property (nonatomic, retain) NSString * book_id;
@property (nonatomic,
In addition to Mike Weller and flexaddicted, after calling [context deleteObject:currentObj];
you need to save:
context:
NSError *error = nil;
[context save:&error];
As from documentation:
Just as a new object is not saved to the store until the context is saved, a deleted object is not removed from the store until the context is saved.
That made matter in my case.