| 123456789101112131415161718192021222324 |
- //
- // RAUploadOperation.h
- // test_autolayout
- //
- // Created by Ray on 03/05/2017.
- // Copyright © 2017 USAI. All rights reserved.
- //
- #import <Foundation/Foundation.h>
- typedef NS_ENUM(NSInteger, TaskStatus) {
- TaskStatusStop = 0,
- TaskStatusStart = 1,
- TaskStatusError = 2,
- TaskStatusWait = 3,
- TaskStatusFinish = 4
- };
- @interface RAUploadOperation : NSOperation
- - (instancetype)initWithTaskinfo:(NSMutableDictionary*)taskinfo retry:(int) maxRetry;
- @property (nonatomic , copy) void (^updateUI)(void);
- //@property (nonatomic , copy) void (^operationFinish)(NSMutableDictionary* taskinfo);
- @property (nonatomic,assign,readonly) NSTimeInterval theRestOfWaitTimeInterval;///<剩余等待时间
- @end
|