diff --git a/PINFuture/Classes/Categories/PINNSURLSessionDataTaskResult.h b/PINFuture/Classes/Categories/PINNSURLSessionDataTaskResult.h index c8e8ef7..198a235 100644 --- a/PINFuture/Classes/Categories/PINNSURLSessionDataTaskResult.h +++ b/PINFuture/Classes/Categories/PINNSURLSessionDataTaskResult.h @@ -13,8 +13,8 @@ NS_ASSUME_NONNULL_BEGIN @interface PINNSURLSessionDataTaskResult : NSObject -@property (nonatomic, readonly) NSData * _Nullable data; -@property (nonatomic, copy, readonly) NSURLResponse * _Nullable response; +@property (nonatomic, copy, readonly) NSData * _Nullable data; +@property (nonatomic, readonly) NSURLResponse * _Nullable response; @property (nonatomic, readonly) NSError * _Nullable error; + (instancetype)resultWithData:(NSData * _Nullable)data