Merge pull request #541 from tewha/master

Add error when building without ARC
This commit is contained in:
Mattt Thompson 2012-09-27 08:51:28 -07:00
commit 1ca61bf75c

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,