I'm planning to use TBXML for my Weather app. I've used NSXMLParser with a NSURLConnection up to now, but i feel this must be able much simpler, faster and more stable (the current code is so complex minor issues keep slipping in that are hell to debug).
I've been searching for asynchronous parsers for a bit and ended up in an article ('How to choose the best xml parser for your iPhone project' on raywenderlich) which lead me to TBXML. Reading through the documentation, i saw that you can also init it with an URL, which would take away the need for using the NSURLConnection. My first question is this: What are the advantages of using NSURLRequest over this? I am going to check if the network connection is alright first before i start TBXML, so that won't be a problem.
My second question is about the asynchronousity: If i simply call initWithURL or initWithData, will its processing be asynchronous? From what i've seen, it has no delegate calls but instead you just directly get the elements from the TBXML object. If i try getting elements from it before it's done, will it simply hang there? Since this can last especially long if you use initWithURL (which would pretty much answer my first question) If so, is TBXML safe to run on another thread (which i assume it is)?