[Issue #767] Consolidating macros
This commit is contained in:
parent
26da1ad95a
commit
be72f5fe1f
1 changed files with 3 additions and 5 deletions
|
|
@ -76,10 +76,8 @@
|
||||||
- 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.
|
- 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 <NSURLConnectionDelegate,
|
@interface AFURLConnectionOperation : NSOperation <NSURLConnectionDelegate,
|
||||||
#if __IPHONE_OS_VERSION_MIN_REQUIRED >= __IPHONE_5_0
|
#if (defined(__IPHONE_OS_VERSION_MIN_REQUIRED) && __IPHONE_OS_VERSION_MIN_REQUIRED >= __IPHONE_5_0) || \
|
||||||
NSURLConnectionDataDelegate,
|
(defined(__MAC_OS_X_VERSION_MIN_REQUIRED) && __MAC_OS_X_VERSION_MIN_REQUIRED >= __MAC_10_8)
|
||||||
#endif
|
|
||||||
#if __MAC_OS_X_VERSION_MIN_REQUIRED >= __MAC_10_8
|
|
||||||
NSURLConnectionDataDelegate,
|
NSURLConnectionDataDelegate,
|
||||||
#endif
|
#endif
|
||||||
NSCoding, NSCopying>
|
NSCoding, NSCopying>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue