apache/incubator-cordova-ios — pull request #10 by marcuswu (2012-04-06 14:35:28+00:00)
Title: Change FileTransfer download to not use a blocking call

I have converted the download command from using the blocking NSData dataWithContentsOfURL: call to use a NSURLConnection so that performance is improved.

I added on to the existing delegate rather than creating a second one for the download. Additionally, I am checking the HTTP status code on the response so we don't end up saving an error page and returning success.