• 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: What exactly happens when I use Core Data's 'Remove' button?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What exactly happens when I use Core Data's 'Remove' button?


  • Subject: Re: What exactly happens when I use Core Data's 'Remove' button?
  • From: Bill Bumgarner <email@hidden>
  • Date: Fri, 11 Aug 2006 07:56:59 -0700


On Aug 11, 2006, at 6:32 AM, Arthur C. wrote:

So another question is why the object is not actually deleted (I would expect it to be dealloc-ed).

As someone else said, it is marked as deleted in the context and not actually dealloc'd until save.


NSManagedObjectContext offers a notification named NSManagedObjectContextObjectsDidChangeNotification. Observe this and take appropriate action upon the managed objects found in the user info dictionary under the key NSDeletedObjectsKey.
_______________________________________________
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: What exactly happens when I use Core Data's 'Remove' button?
      • From: "Arthur C." <email@hidden>
    • Re: What exactly happens when I use Core Data's 'Remove' button?
      • From: "I. Savant" <email@hidden>
References: 
 >What exactly happens when I use Core Data's 'Remove' button? (From: "Arthur C." <email@hidden>)

  • Prev by Date: Two views
  • Next by Date: Re: What exactly happens when I use Core Data's 'Remove' button?
  • Previous by thread: Re: What exactly happens when I use Core Data's 'Remove' button?
  • Next by thread: Re: What exactly happens when I use Core Data's 'Remove' button?
  • Index(es):
    • Date
    • Thread