Data format for content heavy iPhone app - Plist or XML?

Posted by Toby on Stack Overflow See other posts from Stack Overflow or by Toby
Published on 2010-06-02T22:15:04Z Indexed on 2010/06/02 22:44 UTC
Read the original article Hit count: 188

Filed under:
|
|
|

Hello,

I'm building an iPhone app that is essentially a book, it will be bundled with a lot of text-heavy content.

I considered bundling the data as XML and load it when the application starts but the XML would contain a lot of nested structures and be a bit of a pain to parse.

Would it be better to use a plist? I'm concerned about memory usage and plists are loaded entirely into memory - can they be parsed in chunks? Is there a maximum size to a plist and how efficient are they?

I'm not sure how big the bundled content is going to be yet but I should imagine it could be anywhere from 500k to 4MB.

Thanks in advance.

© Stack Overflow or respective owner

Related posts about iphone

Related posts about Xml