tianshanxuester / gdata-objectivec-client

Automatically exported from code.google.com/p/gdata-objectivec-client
Other
0 stars 0 forks source link

Selector for upload progress #34

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Right now in GDataHTTPFetcher there is a delegate call to track progress of 
data that is getting 
received:

//  - (void)myFetcher:(GDataHTTPFetcher *)fetcher receivedData:(NSData 
*)dataReceivedSoFar;

Not so for data that is being uploaded/sent. But NSURLConnection does have the 
following delegate 
method that could be used to implement a similar delegate on the 
GDataHTTPFetcher:

- (void)connection:(NSURLConnection *)connection 
didSendBodyData:(NSInteger)bytesWritten 
totalBytesWritten:(NSINteger)totalBytesWritten 
totalBytesExpectedToWrite:(NSInteger)totalBytesExpectedToWrite

Original issue reported on code.google.com by tcurdt on 24 Aug 2009 at 12:08

GoogleCodeExporter commented 9 years ago
Will do.

Original comment by gregrobbins on 25 Aug 2009 at 10:13

GoogleCodeExporter commented 9 years ago
Added to top of trunk.

http://code.google.com/p/gdata-objectivec-client/source/detail?r=328

Thanks for the suggestion.

Original comment by gregrobbins on 2 Sep 2009 at 1:21