I want to import the excel file in Xcode bundle.
When I click on button then all excel content store in the database then it visible in the table from the database.
I want to import the excel file in Xcode bundle.
When I click on button then all excel content store in the database then it visible in the table from the database.
Umm, you can use this: https://github.com/davedelong/CHCSVParser BUT you have to store the file as CSV, not XLSX or XLS
Also, you can store this in the bundle, you just have to call to the bundle, something like this:
NSString *fileName = @"theFileName";
NSString *pathToFile =[[NSBundle mainBundle] pathForResource:fileName ofType: @"csv"];
the @"csv" may need to be @"txt", try it with both
These stuffs may help u
File search with specific Extension Objective c
for read (import) a XLS file https://github.com/dhoerl/DHlibxls its working well
if you need to write (export) a XLS file, u use pods https://cocoapods.org/pods/JXLS its also working
if you need to edit a XLSX file https://github.com/renebigot/XlsxReaderWriter (i'm not sure, because i don't work with it)
If you just need to show the files(XLS/XLSX) to the users, you can use a UIWebView