• 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: (simple?) CoreData question :-)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: (simple?) CoreData question :-)


  • Subject: Re: (simple?) CoreData question :-)
  • From: AurĂ©lien HugelĂ© <email@hidden>
  • Date: Fri, 03 Mar 2006 05:10:52 +0100

Yes the object is deleted in both moc after a save, but the array controllers bound to the second moc are not informed and i finally get a "Core Data could not fullfill a fault" error...
No notifications are sent since ONLY the first moc did delete the object.


On 2 mars 06, at 20:46, Marcus S. Zarra wrote:

Have you tried saving the MOC after the deletion?  The save should let
the other MOC know about the deletion.

On 3/2/06, Mr. Guillaume Christian Rager <email@hidden> wrote:
Hey

I have core data application that uses SQLite store.
The persistent store coordinator is shared between 2 MOCs.

When the user deletes an object in MOC moc1, the deletion is seen by
NSArrayControllers and the tableview are refreshed.

How can i inform the second MOC that the object with the same
objectID (i'll use objectWithObjectID:) has been removed? is it up to
me to inform the second MOC app that an object has been deleted in
the first MOC? should i remove this object again (using
objectWithObjectID:) in the second MOC ?

thanks

Guillaume

-----------
GUMITECH - France
http://www.gumitech.com

"Chaud cocoa, chaud chocolat !"
 _______________________________________________
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

_______________________________________________
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: 
 >(simple?) CoreData question :-) (From: "Mr. Guillaume Christian Rager" <email@hidden>)
 >Re: (simple?) CoreData question :-) (From: "Marcus S. Zarra" <email@hidden>)

  • Prev by Date: Re: Eval() ?
  • Next by Date: does transformedValueClass matter?
  • Previous by thread: Re: (simple?) CoreData question :-)
  • Next by thread: Re: (simple?) CoreData question :-)
  • Index(es):
    • Date
    • Thread