Easiest way to read and process a text file
I have an app that I'm working on which will contain two arrays that are less than a thousand objects each. When the user initially starts the app for the first time, I would like one of the arrays to fill with data from a text file. Then I would like to use object archiving to store the data between sessions.
1. What is the easiest way to implement reading a text file into arrays. It doesn't have to be efficient because its one time only. I would like to comma separate the text file items.
2. Is object archiving appropriate for hundreds of array items? Or should I use Core Data? It doesn't have to be incredibly efficient.
|