Re: Nested XML -> CoreData
Re: Nested XML -> CoreData
- Subject: Re: Nested XML -> CoreData
- From: Jerry Krinock <email@hidden>
- Date: Wed, 16 May 2012 17:22:14 -0700
On 2012 May 16, at 09:34, Koen van der Drift wrote:
> I will definitely swich to an sqlstore, right now I am using xml for debugging purposes.
You should switch to the SQLite store sooner rather than later.
Although I have seen it implied that it is appropriate to develop with XML and "flip the switch" to SQLite the day before you ship, in a project of any significant complexity you'll be bitten by one or more of Core Data's SQLite gotchas.
There are GUI tools such as SQLiteManager which, although cranky, make reading SQLite files for debugging no more painful than reading XML, maybe even less painful since you can execute queries. After you learn your way around, the free command-line tool sqlite3 from sqlite.org is also useful.
Entities become tables, properties become columns. Both names are made uppercase and prefixed with "Z" or "Z_". Not at all difficult.
_______________________________________________
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