Add error when building without ARC to a central file.
This commit is contained in:
parent
70b7e0522c
commit
6a0b052659
1 changed files with 5 additions and 0 deletions
|
|
@ -25,6 +25,11 @@
|
||||||
#import <UIKit/UIKit.h>
|
#import <UIKit/UIKit.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if !__has_feature(objc_arc)
|
||||||
|
#error AFNetworking must be built with ARC.
|
||||||
|
// You can turn on ARC for only AFNetworking files by adding -fobjc-arc to the build phase for each of its files.
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
AFOperationPausedState = -1,
|
AFOperationPausedState = -1,
|
||||||
AFOperationReadyState = 1,
|
AFOperationReadyState = 1,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue