NSURLConnection to load xml from server when starting the app, but mostly I just get the very first lines of xml to check the version and stop parsing the rest. As loading the whole xml takes time which I dont need it often. Is it possible to only parse the first load of
didReceiveData and then stop loading the rest?
What you are trying to achieve can be done libxml2 SAX parser.. It has the capacity to parse the data as it comes in.. for more info refer this... http://www.jamesh.id.au/articles/libxml-sax/libxml-sax.html