• 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: Saving Permanent IDs in Document-Based App
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Core Data: Saving Permanent IDs in Document-Based App


  • Subject: Re: Core Data: Saving Permanent IDs in Document-Based App
  • From: Quincey Morris <email@hidden>
  • Date: Thu, 22 Jan 2009 14:58:22 -0800

On Jan 21, 2009, at 13:15, Derek Kuhl wrote:

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.

Did you get any responses to this and/or are you still having a problem?

If you're still looking for assistance, you're going to have to spell things out a bit more clearly. Are the external files persistent stores you add to the persistent store controller, or are they just additional files you keep references to as property values? If you have information in transient properties, why are you expecting those values to be saved at all? What kind of context are you talking about? If you mean managed object context, why are you telling objects to "save" it? Etc.


_______________________________________________

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


References: 
 >Core Data: Saving Permanent IDs in Document-Based App (From: Derek Kuhl <email@hidden>)

  • Prev by Date: Re: Using the security framework
  • Next by Date: re:My objectcontroller is loosing its moc, but only with certain timing
  • Previous by thread: Core Data: Saving Permanent IDs in Document-Based App
  • Next by thread: NSProgressIndicator not accepting updates
  • Index(es):
    • Date
    • Thread