How to load data into master data?

thanks for the help.

I'm trying to add basic data to my project, and I'm stuck on where and how to add the actual data to the persistent storage (I assume this is the place for raw data).

I will have 1000 <objects, so I don't want to use the plist approach. From my searches, it seems that xml and csv are suitable. Is there a way I can use SQL for input?

The data will not be changed by the user, and the data file will be entered manually, so I will not need to update these files at runtime, and at this point I will not limit myself to any type of file - the easiest syntax is preferred.

Thanks again for any help.

+3
source share
3

xml/csv/json ( , ). sqlite DB . , , , ApplicationData .

+2

, , , JSON , .

: XML. NSXMLParser , JSONKit ( , ), XML JSON. , XML , , , JSON.

+1

, Apple , SQLite . iOS// , . , , .

Apple:

(XML , ) , .

: EliBud, "iffy"... SQLite, Core Data, , ( , , , ).

So, you want to use a mock application running on Simulator and use Core Data to create a database (according to EliBud's answer). But you still have to import the data into , mock-app! And although it may make sense to do this once on a "real" computer, and not many times on a mobile device (that is, copying a file is easy, it is difficult to import data), you, in fact, use the Simulator as an administrator tool.

But hey, if it works ...

0
source

All Articles