Store XML data in Core Data

Posted by ct2k7 on Stack Overflow See other posts from Stack Overflow or by ct2k7
Published on 2010-04-10T17:31:18Z Indexed on 2010/04/10 17:33 UTC
Read the original article Hit count: 642

Filed under:
|
|

Hi, is there any easy way of store XML data into core data?

Currently, my app just pulls the values from the XML file directly, however, this isn't efficient for XML files which holds over 100 entries, thus storing the data in Core Data would be the best option. XML file is called/downloaded/parsed ever time the app opens.

With the Core Data, the XML data would be downloaded ever 3600 seconds or so, and refresh the current data in the core data, to reduce the loading time when opening the app.

Any ideas on how I can do this?

Having reviewed the developer documentation, it doesn't look very tasty.

© Stack Overflow or respective owner

Related posts about core-data

Related posts about iphone