• 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: [CORE DATA] Core Data and NSArrayController behavior when deleting a NSManagedObject
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [CORE DATA] Core Data and NSArrayController behavior when deleting a NSManagedObject


  • Subject: Re: [CORE DATA] Core Data and NSArrayController behavior when deleting a NSManagedObject
  • From: Aurélien Hugelé <email@hidden>
  • Date: Tue, 13 Dec 2005 21:27:52 +0100

thanks i'll try that (checking “Deletes Objects On Remove”)

But remember that i do not (always) want to use the array controller to delete an object from the managedObjectContext... i may want to delete the object from another place in my code, maybe threaded somewhere, or from another action not related to the array controller, and i want the tableview (so the array controller) to be updated accordingly. is it possible ?

i already have checked "automatically prepares content".

thanks for the link, i already have read it... but too quickly ;-)

On 13 déc. 05, at 19:35, mmalcolm crawford wrote:


On Dec 13, 2005, at 10:22 AM, Aurélien Hugelé wrote:

when removing an object "note" using NSArrayController -(IBAction) remove: method, the note object is not *deleted* from the MOC or the store, but removed from the array controller and by consequence from the tableview. I want *deletion*... not removal...

<http://developer.apple.com/documentation/Cocoa/Conceptual/CoreData/ Articles/cdFAQ.html#//apple_ref/doc/uid/TP40001802- DontLinkElementID_14>

mmalc

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

This email sent to email@hidden


_______________________________________________
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
References: 
 >[CORE DATA] Core Data and NSArrayController behavior when deleting a NSManagedObject (From: Aurélien Hugelé <email@hidden>)
 >Re: [CORE DATA] Core Data and NSArrayController behavior when deleting a NSManagedObject (From: mmalcolm crawford <email@hidden>)

  • Prev by Date: Re: Double Help menus
  • Next by Date: Column Header Disappears
  • Previous by thread: Re: [CORE DATA] Core Data and NSArrayController behavior when deleting a NSManagedObject
  • Next by thread: Double Help menus
  • Index(es):
    • Date
    • Thread