Re: Storing structured data in file - any easy way?
Re: Storing structured data in file - any easy way?
- Subject: Re: Storing structured data in file - any easy way?
- From: Chris Hanson <email@hidden>
- Date: Thu, 10 Jul 2008 16:28:20 -0700
On Jul 10, 2008, at 6:09 AM, Jules Colding wrote:
I'm trying to figure out how to write and read structured data to a
specific file. I have a very bad feeling that the answer is Core
Data, but I'm feeling totally at lost after having been reading up
on Core Data for a couple of days by now.
That's what Core Data is for, yes.
This is what I would like to do:
1) I want to store several top-level objects.
2) A top-level object have a few optional attributes.
3) Each top-level object have two-way relationships to sub-objects.
4) Sub-objects has also a few optional attributes.
5) A top-level object may contain many sub-objects.
Obviously I would like to read and write to the data file as well as
create and delete objects within. There must be a simple way to do
this but I just can't figure out how...
Out of curiosity, what do you find not simple about doing the above
using Core Data?
-- Chris
_______________________________________________
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