Renaming iOS example project Adding AFNetworking to Mac project using preprocessor macros to resolve UIKit dependencies, and setting compiler flags accordingly.
10 lines
226 B
Text
10 lines
226 B
Text
#import <Availability.h>
|
|
|
|
#ifndef __IPHONE_3_0
|
|
#warning "This project uses features only available in iPhone SDK 3.0 and later."
|
|
#endif
|
|
|
|
#ifdef __OBJC__
|
|
#import <UIKit/UIKit.h>
|
|
#import <Foundation/Foundation.h>
|
|
#endif
|