Indenting macro conditionals

This commit is contained in:
Mattt Thompson 2012-11-06 09:21:41 -08:00
parent d5bd23ca17
commit 5ec794dc4d
8 changed files with 97 additions and 107 deletions

View file

@ -40,5 +40,4 @@
#import "AFNetworkActivityIndicatorManager.h" #import "AFNetworkActivityIndicatorManager.h"
#import "UIImageView+AFNetworking.h" #import "UIImageView+AFNetworking.h"
#endif #endif
#endif /* _AFNETWORKING_ */ #endif /* _AFNETWORKING_ */

View file

@ -21,6 +21,7 @@
// THE SOFTWARE. // THE SOFTWARE.
#import "AFURLConnectionOperation.h" #import "AFURLConnectionOperation.h"
#if __IPHONE_OS_VERSION_MIN_REQUIRED #if __IPHONE_OS_VERSION_MIN_REQUIRED
#import <UIKit/UIKit.h> #import <UIKit/UIKit.h>
#endif #endif

View file

@ -23,20 +23,15 @@
#import <Availability.h> #import <Availability.h>
#if __IPHONE_OS_VERSION_MIN_REQUIRED #if __IPHONE_OS_VERSION_MIN_REQUIRED
#import <UIKit/UIKit.h> #import <UIKit/UIKit.h>
@interface AppDelegate : NSObject <UIApplicationDelegate> { @interface AppDelegate : NSObject <UIApplicationDelegate>
}
@property (nonatomic, strong) UIWindow *window; @property (nonatomic, strong) UIWindow *window;
@property (nonatomic, strong) UINavigationController *navigationController; @property (nonatomic, strong) UINavigationController *navigationController;
@end @end
#else #else
#import <Cocoa/Cocoa.h> #import <Cocoa/Cocoa.h>
@interface AppDelegate : NSObject <NSApplicationDelegate> @interface AppDelegate : NSObject <NSApplicationDelegate>
@ -46,5 +41,4 @@
@property (strong) IBOutlet NSArrayController *postsArrayController; @property (strong) IBOutlet NSArrayController *postsArrayController;
@end @end
#endif #endif

View file

@ -23,7 +23,6 @@
#import "AppDelegate.h" #import "AppDelegate.h"
#if __IPHONE_OS_VERSION_MIN_REQUIRED #if __IPHONE_OS_VERSION_MIN_REQUIRED
#import "GlobalTimelineViewController.h" #import "GlobalTimelineViewController.h"
#import "AFNetworkActivityIndicatorManager.h" #import "AFNetworkActivityIndicatorManager.h"
@ -53,9 +52,7 @@ didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
} }
@end @end
#else #else
#import "Post.h" #import "Post.h"
#import "User.h" #import "User.h"
@ -93,5 +90,4 @@ didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
} }
@end @end
#endif #endif