How to read cell data from an Excel document using objective-c

I am creating an iPhone application that should download an Excel file (.xls) from a website and do a string search of spreadsheet data. I did this in C #, but I have no idea how to do this in objective-c. How to access individual cells using objective-c?

+4
source share
1 answer

There is no inherent ability to read Excel data into a Foundation container, such as NSArray or NSDictionary . However, you can convert the file (with Excel) to a comma-delimited (CSV) file and then parse each cell of the row on the iPhone using the NSString -componentsSeparatedByString: instance method.

+5
source

Source: https://habr.com/ru/post/1316602/


All Articles