• 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: CoreData: unsolicited undelete
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CoreData: unsolicited undelete


  • Subject: Re: CoreData: unsolicited undelete
  • From: Jim Correia <email@hidden>
  • Date: Fri, 23 Sep 2005 08:57:40 -0400

On Sep 23, 2005, at 8:24 AM, Pierre Bernard wrote:

Could anyone explain how this can happen?

        [context deleteObject:queryItem];
        BOOL isDeleted = [queryItem isDeleted]; // YES
        [context processPendingChanges];
        BOOL isStillDeleted = [queryItem isDeleted]; // NO !!

Where did I mess up?

Is that exactly the code in question? You didn't save the managed object context in between?


<http://www.cocoabuilder.com/archive/message/cocoa/2005/7/14/141922>

further explains isDeleted.

Jim
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: CoreData: unsolicited undelete
      • From: Pierre Bernard <email@hidden>
References: 
 >CoreData: unsolicited undelete (From: Pierre Bernard <email@hidden>)

  • Prev by Date: Re: Backup 3 / QuickPicks / DefinitionPlist.strings
  • Next by Date: NSOutlineView with C++ classes
  • Previous by thread: CoreData: unsolicited undelete
  • Next by thread: Re: CoreData: unsolicited undelete
  • Index(es):
    • Date
    • Thread