title: xlsx parser with objective-c
body: <p>I found some parsing libraries but those are written by using python or perl. I tried to translate to objective-c but I could not do that because of my skills including objective-c.</p>
  
  <p><a href="https://github.com/staale/python-xlsx" rel="nofollow">https://github.com/staale/python-xlsx</a></p>
  
  <p><a href="https://github.com/typester/Data-XLSX-Parser" rel="nofollow">https://github.com/typester/Data-XLSX-Parser</a></p>
  
  <p>If you have any hints to make the parser, please share me. Thanks</p>
  
  <h2>Fixed the issue</h2>
  
  <ol>
  <li>unzip .xlsx file. </li>
  <li>parse xl/workbook.xml to get sheet's name.</li>
  <li>parse xl/sharedStrings.xml to get strings.</li>
  <li>parse xl/worksheets/sheetXXX.xml to get cells's postion and value.</li>
  </ol>
  
  <p>I use "ZipArchive" but I got some warings such as deprecated error.</p>
  
  <p>I use NSXMLParser but I do not know whether using the SAX parser is the best way or not. I use just three method to parse.</p>
  
  <ol>
  <li>-(BOOL)parse;</li>
  <li>-(void)parser:(NSXMLParser *)parser didStartElement:(NSString *)elementName namespaceURI:(NSString *)namespaceURI qualifiedName:(NSString *)qName attributes:(NSDictionary *)attributeDict</li>
  <li>-(void)parser:(NSXMLParser *)parser foundCharacters:(NSString *)string</li>
  </ol>