Re: NSFetchedResultsController getting insert update on delete?
Re: NSFetchedResultsController getting insert update on delete?
- Subject: Re: NSFetchedResultsController getting insert update on delete?
- From: Rick Mann <email@hidden>
- Date: Tue, 18 Jun 2013 15:06:31 -0700
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@hidden> 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@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
--
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