Refactored RCTImageDownloader to use RCTNetworking instead of a separate download system

This commit is contained in:
Nick Lockwood
2015-07-27 13:46:59 -07:00
parent 3cff9be3d1
commit 1d852624fd
11 changed files with 159 additions and 326 deletions

View File

@@ -15,7 +15,7 @@
typedef void (^RCTURLRequestCompletionBlock)(NSURLResponse *response, NSData *data, NSError *error);
typedef void (^RCTURLRequestCancellationBlock)(void);
typedef void (^RCTURLRequestIncrementalDataBlock)(NSData *data);
typedef void (^RCTURLRequestProgressBlock)(double progress, double total);
typedef void (^RCTURLRequestProgressBlock)(int64_t progress, int64_t total);
typedef void (^RCTURLRequestResponseBlock)(NSURLResponse *response);
@interface RCTDownloadTask : NSObject <RCTURLRequestDelegate>