Core Data: Saving Permanent IDs in Document-Based App
Core Data: Saving Permanent IDs in Document-Based App
- Subject: Core Data: Saving Permanent IDs in Document-Based App
- From: Derek Kuhl <email@hidden>
- Date: Wed, 21 Jan 2009 16:15:04 -0500
I created a document-based core data application and want it to be
able to add external files from a support folder. I can successfully
set the permanent URIs for the transient relationships working in
memory, but for some reason saving to file never works properly. If I
tell each object to save the context using save: in the didSave:
method, it will save a duplicate in the file. If I try to save the
context in the document's document:didSave:contextInfo: method
mentioned in the documentation, it works again but doesn't save.
Thank you in advance for any information someone has on what I'm doing
wrong.
-Derek
_______________________________________________
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