Using a .txt file to store data iOS?
I am making a few apps that all require pre-set data to be loaded into the
app. This data does not need to be changed or altered in any way as the
app progresses - it is simply the data that the app runs on (to give more
detail, it is questions for a quiz app). I have elected to use .txt files
to store this data, but I wanted to know if this is the best way to do
this? Text files allow me to easily change the data without coding. I can
also copy and paste from normal documents. Is storing data in this way a
good practice, or should I try to hard-code the data/ use a p-list? Thanks
No comments:
Post a Comment