More information: the MOC is getting only a delete. Something about the 
NSFetchedResultsController is causing it to sent an insert after the delete.

On Jun 17, 2013, at 22:40 , Rick Mann <[email protected]> wrote:

> 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 protected])
> 
> 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:
> https://lists.apple.com/mailman/options/cocoa-dev/rmann%40latencyzero.com
> 
> This email sent to [email protected]


-- 
Rick




_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to