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

后端 未结 1 1594
一向
一向 2020-12-18 10:07

I\'m building an iPhone app that has to download an Excel (.xls) file from a website and perform a string search of the spreadsheet data. I\'ve done this in C#, but I have

相关标签:
1条回答
  • 2020-12-18 10:29

    There is no innate ability to read Excel data into a Foundation container, like an NSArray or NSDictionary. You could, however, convert the file (with Excel) to a comma-separated-value (CSV) file and then parse each line's cells on the iPhone using the NSString instance method -componentsSeparatedByString:.

    0 讨论(0)
提交回复
热议问题