iphone Programming Glossary: datadownloadfailed
Downloading a Large File - iPhone SDK http://stackoverflow.com/questions/4002979/downloading-a-large-file-iphone-sdk NSObject @optional void didReceiveData NSData theData void didReceiveFilename NSString aName void dataDownloadFailed NSString reason void dataDownloadAtPercent NSNumber aPercent @end @interface DownloadHelper NSObject NSURLResponse response.. url NSString reason NSString stringWithFormat @ Could not create URL from string @ self.urlString DELEGATE_CALLBACK dataDownloadFailed reason return NSMutableURLRequest theRequest NSMutableURLRequest requestWithURL url if theRequest NSString reason NSString.. reason NSString stringWithFormat @ Could not create URL request from string @ self.urlString DELEGATE_CALLBACK dataDownloadFailed reason return self.urlconnection NSURLConnection alloc initWithRequest theRequest delegate self if self.urlconnection NSString..
|