How should I store static data in Objective-C?

Help please Council. How to store static data in Objective-C, there was an option to use Core Data, but people want to be able to edit the data yourself. The server with the Database to remove wants.
October 3rd 19 at 01:44
3 answers
October 3rd 19 at 01:46
Solution
If they are really static and small in size, to store them it is necessary as convenient to the developer (once to fill the data from the customer in the same XML or CoreData).
If after the application is published, they may change and/or a lot of them, you might think in the direction of the free plan https://parse.com
October 3rd 19 at 01:48
There are lots of options xml, json, sqllite db. Choose.
xml and json are easily fixed in Notepad and also easy Prasada in the application. With sqllite database slightly more complicated, but I think you don't need it, You don't have 10 entries? By the way core data is the same sqllite database and its very easy to edit for example this plugin for FF
And don't forget about "native" .plist, well digested yaml - harley commented on October 3rd 19 at 01:51
+ 1 for the static ideal plist. you can edit, see the data type, it is convenient to work from the app - Leora_Schuster20 commented on October 3rd 19 at 01:54
+1 CoreData is not only pounds SQLite, but also the possibility of using xml as a storage container - pearl_Web commented on October 3rd 19 at 01:57
October 3rd 19 at 01:50
You can look into using plist files. Inside it's the same xml. And in the code it can directly unload to an array or a dictionary NSArray and NSDictonary to read the data.

Find more questions by tags Objective-CiOS