I would like to read the excel file from my project folder at Xcode 5.1.1 using QZXLSReader Framework. When it comes to the execution. it does not work and show the required
I was using this framework, and not problems to show it,
I used:
NSUrl* url = [NSURL fileURLWithPath:[[[NSBundle mainBundle] resourcePath] stringByAppendingPathComponent:@"NameOfXls.xls"]]; // caminho do xls
QZWorkbook* excelReader = [[QZWorkbook alloc] initWithContentsOfXLS:url]; // pega o workbook
QZWorkSheet* firstWorkSheet = excelReader.workSheets.firstObject; // pega a primeira worksheet daquele workbook
[firstWorkSheet open];
NSLog(@"%@",firstWorkSheet.rows); // to show all rows, is obvious have some nulls values, check the output