I'm looking for the best way (or easiest) to import data into my iOS app using Swift. I've got a file containing recipes and I have to read in the recipe names and instructions. Example:
Fudge brownies
- Mix ingredients in processors until consistent.
- Prepare baking sheet with coconut oil and set over at 425. ....
So I have to import several dozen recipes, my questions are
Would it be best to read in a text file?
If so how is this done in Swift?
Also how do I avoid issues with reading the title and recipe into separate variables?