NSFetchedResultsController getting insert update on delete?
NSFetchedResultsController getting insert update on delete?
- Subject: NSFetchedResultsController getting insert update on delete?
- From: Rick Mann <email@hidden>
- Date: Mon, 17 Jun 2013 22:40:36 -0700
I'm deleting a core data entity when my user swipes across the UITableViewCell. I've been doing this for a long time, and it has worked.
Suddenly, the NSFetchedResultsController is getting an *additional* NSFetchedResultsChangeInsert type change (in addition to the expected NSFetchedResultsChangeDelete). Both come as part of the same -[NSManagedObjectContext save:] call.
If I kill the UITableViewController and re-display it, causing it to re-fetch the objects, the object is deleted, and no new object exists.
Very puzzling.
--
Rick
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden