Answer the question
In order to leave comments, you need to log in
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
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 questionAsk a Question
731 491 924 answers to any question