• 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: A Few Basic Core Data Questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A Few Basic Core Data Questions


  • Subject: Re: A Few Basic Core Data Questions
  • From: mmalcolm crawford <email@hidden>
  • Date: Mon, 6 Feb 2006 00:42:27 -0800


On Feb 5, 2006, at 9:10 PM, Justin Carlson wrote:

What I want to use CD for is to modify existing files. The formats already exist. So properly manging writing the data back to file on save is what is as important as reading it. Other applications rely the data being updated. I was aware of the ability to import. I don't want to go through parsing XML stores or have some form of observance (IF the job is better handled using traditional methods) for exporting the modified data in place of.

It's not clear how this is any different from the original problem statement.
The Core Data change management layer can be decoupled from the persistence layer. You can read data in from an arbitrary file, create managed objects, and save the objects out how you wish...



Another example would be: Reading the names of several files on disk, Managing them somehow (the internal steps are irrelevant), using Core Data to rename the source files.
From what I've gathered so far it's not really supported...but there's plenty chance I am wrong.


It's not "supported", but it's not prevented either. You have to do the work ("you'll also have to ensure you properly manage writing the file on save").

mmalc

_______________________________________________
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: 
 >RE: Cocoa-dev Digest, Vol 3, Issue 167 (From: "Justin Carlson" <email@hidden>)

  • Prev by Date: Re: Custom NSView doesn't redraw itself properly after use of NSPopUpButton
  • Next by Date: Re: first steps
  • Previous by thread: RE: Cocoa-dev Digest, Vol 3, Issue 167
  • Next by thread: NSImage and layer transparency
  • Index(es):
    • Date
    • Thread