-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Sorry if this has been asked before, but I'm wondering what the best memory management practice is for NSURLConnection. Apple's sample code uses -[NSURLConnection initWithRequest:delegate:] in one method and then releases in connection:didFailWithError: or connectionDidFinishLoading:, but this spits…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi All,
I am downloading very large data from the server. I am using NSURLConnection class for getting the data.
How to implement the pause facility so that i can resume downloading where it was left ?
Thanks
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
hi all,
I encounter a problem by following your comment. I would like to download different file at same time with different delegate:
.h:
NSMutableData *fileData;
.m:
NSString *imgfile = [NSString stringWithFormat:@"http://xxxx/01.jpg"];
NSURL *fileURL1 = [NSURL URLWithString:imgfile];
NSString…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi all~.
I made a multi files downloader.
I implemented NSURLConnection using NSOperationQueue.
NSOpetationQueue has many NSURLConnection operations.
and, set MaxConcurrentOperationCount to 10.
I thought my code is right, But after run the project, it was wrong.
there are some connection error…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
The code for this question is too long to be of any use. But I'm pretty sure my problem has to do with releasing a class.
I have a helper class, ConnectionHelper.h/.m, that handles a NSURLConnection for me. Basically, I give it the URL I want and it returns the data (it happens to do a quick json…
>>> More