From d998515d24e475c0697bc83f648db09b066ef802 Mon Sep 17 00:00:00 2001 From: flop Date: Wed, 30 Jan 2013 21:52:13 +0300 Subject: [PATCH] Fix [Issue #751] --- AFNetworking/AFURLConnectionOperation.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/AFNetworking/AFURLConnectionOperation.h b/AFNetworking/AFURLConnectionOperation.h index ff4130d..d300653 100644 --- a/AFNetworking/AFURLConnectionOperation.h +++ b/AFNetworking/AFURLConnectionOperation.h @@ -75,7 +75,14 @@ - A copy of an operation will not include the `outputStream` of the original. - Operation copies do not include `completionBlock`. `completionBlock` often strongly captures a reference to `self`, which would otherwise have the unintuitive side-effect of pointing to the _original_ operation when copied. */ -@interface AFURLConnectionOperation : NSOperation +@interface AFURLConnectionOperation : NSOperation = __IPHONE_5_0 +NSURLConnectionDataDelegate, +#endif +#if __MAC_OS_X_VERSION_MIN_REQUIRED >= __MAC_10_8 +NSURLConnectionDataDelegate, +#endif +NSCoding, NSCopying> ///------------------------------- /// @name Accessing Run Loop Modes