V
V
Vlad2017-04-11 09:42:05
iOS
Vlad, 2017-04-11 09:42:05

What is the best way to store text data in an iOS application?

Good afternoon. I'm starting to learn ios development. There was such question as it is better to implement data storage in application.
Example.
Application Dream Interpretation.
What is the best way to store data?
The user with the text will not work at all.
A primitive application with two View Controllers. The first is table View, and the second Controller is just with text.
You will not store the entire list in the code.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Globak, 2017-04-11
@Lavrenkov_Vlad

It is possible in a text file (txt/json), which is in the project, and then read from it.
You can take text from the server and save it to a database/file.
You can create a separate helper with text constants.
Look in the direction of localization, everything is stored there in "its" file.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question