Merge pull request #541 from tewha/master
Add error when building without ARC
This commit is contained in:
commit
1ca61bf75c
@ -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…
Reference in New Issue
Block a user