RE: Cocoa-dev Digest, Vol 3, Issue 167
RE: Cocoa-dev Digest, Vol 3, Issue 167
- Subject: RE: Cocoa-dev Digest, Vol 3, Issue 167
- From: "Justin Carlson" <email@hidden>
- Date: Sun, 05 Feb 2006 23:10:00 -0600
mmalcolm,
Thanks for the reply. 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.
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.
Thanks, J
Date: Sat, 4 Feb 2006 15:44:43 -0800
From: mmalcolm crawford <email@hidden>
Subject: Re: A Few Basic Core Data Questions
If I understand correctly what you want to do, then this applies:
"Your application codeand in particular the application logic
associated with managed objectsshould not make any assumptions about
the persistent store in which data may reside."
<http://developer.apple.com/documentation/Cocoa/Conceptual/CoreData/
Articles/cdBasics.html#//apple_ref/doc/uid/TP40001650>
You should not directly modify any native Core Data stores.
If you want to use your own file format, then see <http://
developer.apple.com/documentation/Cocoa/Conceptual/CoreData/Articles/
cdImporting.html> -- you'll also have to ensure you properly manage
writing the file on save.
mmalc
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
_______________________________________________
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