12345678910111213141516171819202122232425262728 |
- #import <Foundation/Foundation.h>
- @interface KMCloudDownloadOperationQueue : NSOperationQueue
- @property (nonatomic, strong) NSMutableDictionary *downloadingOperations;
- + (instancetype)sharedInstance;
- - (void)addDownloadOperation:(NSOperation *)op;
- - (NSOperation *)isDownloadOperationExisting:(NSString *)urlString;
- #pragma mark - cancel
- - (void)cancel:(NSString *)urlString;
- - (void)cancelAll;
- @end
|