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

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


  • Follow-Ups:
    • Re: Core Data: Saving Permanent IDs in Document-Based App
      • From: Quincey Morris <email@hidden>
  • Prev by Date: Bug with QTCaptureLayer..........?
  • Next by Date: Re: Bug with QTCaptureLayer..........?
  • Previous by thread: [moderator] Re: Bug with QTCaptureLayer..........?
  • Next by thread: Re: Core Data: Saving Permanent IDs in Document-Based App
  • Index(es):
    • Date
    • Thread