I have an entity in my core data model like this:
@interface Selection : NSManagedObject @property (nonatomic, retain) NSString * book_id; @property (nonatomic,
You should perform a fetch request using an NSPredicate with the appropriate conditions, and then call the deleteObject: method on NSManagedObjectContext with each object in the result set.
NSPredicate
deleteObject:
NSManagedObjectContext