• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSFetchedResultsController getting insert update on delete?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >NSFetchedResultsController getting insert update on delete? (From: Rick Mann <email@hidden>)

  • Prev by Date: Re: core data lightweight migration woes
  • Next by Date: Recomputing non-standard Core Data attributes when child MOC is saved?
  • Previous by thread: NSFetchedResultsController getting insert update on delete?
  • Next by thread: Recomputing non-standard Core Data attributes when child MOC is saved?
  • Index(es):
    • Date
    • Thread