Files
PINRemoteImage/Pod/Classes/PINDataTaskOperation.h
2015-12-21 21:35:29 +01:00

22 lines
644 B
Objective-C

//
// PINDataTaskOperation.h
// Pods
//
// Created by Garrett Moon on 3/12/15.
//
//
#import <Foundation/Foundation.h>
#import "PINURLSessionManager.h"
@interface PINDataTaskOperation : NSOperation
@property (nonatomic, readonly, nullable) NSURLSessionDataTask *dataTask;
+ (nonnull instancetype)dataTaskOperationWithSessionManager:(nonnull PINURLSessionManager *)sessionManager
request:(nonnull NSURLRequest *)request
completionHandler:(nonnull void (^)(NSURLResponse * _Nonnull response, NSError * _Nullable error))completionHandler;
@end