-1

So I need to decide which iOS XML Parser to use for my new app. I will be downloading large documents from a website and parsing them into TableView cells as well as normal views. So it needs to be quick and easy to use.

Also, I would like the ability to parse the document, while downloading. So if I am scrolling in a tableView - I don't want to UI to lock up due to XML Parsing?

I guess I could use GDC to use overcome this?

I looked at TBXML and the libxml2 SAX XML parsers.

Any ideas?

Thanks guys.

p.S: I realise this is a duplicate question - However I wanted to see if TBXML was still used or now deprecated like the ASIHTTPRequest network API (Where AFnetworking is used now)

Robert J. Clegg
  • 7,231
  • 9
  • 47
  • 99
  • IMHO this question should not have been marked as a duplicate because the "original" question is from 2010 and is outdated at this point. – Ron Nov 06 '13 at 23:40
  • Completely agree with you there. Which is why I asked this question as I felt it needed an updated response. – Robert J. Clegg Nov 07 '13 at 08:33

1 Answers1

1

I would recommend to use TBXML as it takes lowest time comparatively to parse a document. To implement this surely you need multi-threading(GCD). You can implement this like lazy-loading concept, adding more rows as scroll reach to last.

Ashwani
  • 3,463
  • 1
  • 24
  • 31