Should I use initWithURL
or NSRequest
to download an XML file when using NSXMLParser
?
I'm downloading a feed and I'd like to get progress information for my download.
Should I use initWithURL
or NSRequest
to download an XML file when using NSXMLParser
?
I'm downloading a feed and I'd like to get progress information for my download.
Check out ASIHTTP as that is really good at handling this sort of thing....
Just a sidenote. initWithUrl
will download the file synchronously. If you want to parse the XML stream on-the-fly, here's an article (plus code) about that matter: