No XML in iOS Core Data

hsoi blog, talk 0 Comments

I just learned the hard way that Core Data on iOS doesn’t support the XML persistent store type (only SQL, binary, and in-memory).

I wonder why not?

My guess is because XML may be considered too inefficient for the constraints of iOS devices. But that’s just a wild guess.

It’s a bummer tho, because I like using XML while developing/debugging. It’s simple to open the file up in a text editor to ensure all my data is looking as I expect it to. I use SQLite for shipping, of course, and I can use SQLite in debugging with an SQL editor. It’s just more cumbersome.

But hey… I’m just happy to have Core Data on iOS. I remember when it wasn’t and that was quite a bummer. It’s not a general purpose solution towards solving everything, but it sure solves a lot and makes life a lot better when you can use it. So, I’ll be happy with what I have. 🙂

Leave a Reply