Add error when building without ARC to a central file.

This commit is contained in:
Steven Fisher 2012-09-26 16:47:56 -07:00
parent 70b7e0522c
commit 6a0b052659

View file

@ -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,