I am importing CSV files saved in documents directory. There are multiple CSV files stored in documents directory.
I am getting the list of all CSV files. I want a selected CSV file to get imported.
When I select any CSV file, I want to get Column names of that CSV File.
How to Fetch only cloumn names of that CSV files?
How can I do this?
Check this out http://www.cocoawithlove.com/2009/11/writing-parser-using-nsscanner-csv.html
There is also a sample program in the end. Its a lot of work, but it will help
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.