Merge pull request #541 from tewha/master
Add error when building without ARC
This commit is contained in:
commit
1ca61bf75c
1 changed files with 5 additions and 0 deletions
|
|
@ -25,6 +25,11 @@
|
|||
#import <UIKit/UIKit.h>
|
||||
#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 {
|
||||
AFOperationPausedState = -1,
|
||||
AFOperationReadyState = 1,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue