N
N
Ne0nX2013-11-18 19:26:15
Objective-C
Ne0nX, 2013-11-18 19:26:15

What is the best way to store static data in Objective-C?

Please help with advice. How to store static data in Objective-C, there was an option to use Core Data, but a person wants to be able to edit the data himself. The server with the Database does not want to remove.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
smanioso, 2013-11-19
@Ne0nX

If they are really static and small in volume, then they should be stored in a way that is more convenient for the developer (once fill in the data from the customer into the same XML or CoreData).
If, after the publication of the application, they can change and / or there are a lot of them, then you can think in the direction of the free plan https://parse.com

A
Alexander, 2013-11-18
@alexyat

There are many options for xml, json, sqllite db. Choose.
xml and json are easy to edit in notepad and just as easy to edit in the application. With a sqllite database, it's a little more complicated, but I think you don't need it, you don't have 10k records, do you? By the way, core data is the same sqllite database and it is very easy to edit it, for example, with this plugin for FF

Z
Zoxaer, 2013-11-27
@Zoxaer

You can look towards the use of plist files. Inside it is the same xml. And in the code, you can immediately unload it into an NSArray array or an NSDictonary dictionary and read the data.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question