QuetzalMX / QuetzalXLSReader

XLS Parser by Quetzal
37 stars 9 forks source link

Implementation for swift #7

Open ghost opened 9 years ago

ghost commented 9 years ago

Hello, I want to use your framework in a SWIFT project, can you help me ?

I have import succesfuly your framework on my swift project, but i need help to call this function on my UIViewController. QZWorkbook *excelReader = [[QZWorkbook alloc] initWithContentsOfXLS:xlsFileURL];

Thanks

shala7 commented 7 years ago

hi .. like this in swift 2

let sourcePath = NSBundle.mainBundle().URLForResource("Student", withExtension: "xls")

    let excelReader : QZWorkbook  = QZWorkbook(contentsOfXLS: sourcePath)