I have this type of file:
@firstTablel: 1#one#two#three#four;
2#apple#tower#flower#robot;
this is an example of my csv file…”firstTable” is my table and 1 and 2 are two id of my two item.
How I can read this file in objective c? Can you help me?
Cocoa for Scientists has a great post on reading CSV files: http://macresearch.org/cocoa-scientists-part-xxvi-parsing-csv-data
In your case, you’d do something like:
On the sample you’ve provided, this will print: