Indenting macro conditionals
This commit is contained in:
parent
d5bd23ca17
commit
5ec794dc4d
8 changed files with 97 additions and 107 deletions
|
|
@ -40,5 +40,4 @@
|
|||
#import "AFNetworkActivityIndicatorManager.h"
|
||||
#import "UIImageView+AFNetworking.h"
|
||||
#endif
|
||||
|
||||
#endif /* _AFNETWORKING_ */
|
||||
|
|
|
|||
|
|
@ -21,6 +21,7 @@
|
|||
// THE SOFTWARE.
|
||||
|
||||
#import "AFURLConnectionOperation.h"
|
||||
|
||||
#if __IPHONE_OS_VERSION_MIN_REQUIRED
|
||||
#import <UIKit/UIKit.h>
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -23,20 +23,15 @@
|
|||
#import <Availability.h>
|
||||
|
||||
#if __IPHONE_OS_VERSION_MIN_REQUIRED
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
@interface AppDelegate : NSObject <UIApplicationDelegate> {
|
||||
|
||||
}
|
||||
@interface AppDelegate : NSObject <UIApplicationDelegate>
|
||||
|
||||
@property (nonatomic, strong) UIWindow *window;
|
||||
@property (nonatomic, strong) UINavigationController *navigationController;
|
||||
|
||||
@end
|
||||
|
||||
#else
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
|
||||
@interface AppDelegate : NSObject <NSApplicationDelegate>
|
||||
|
|
@ -46,5 +41,4 @@
|
|||
@property (strong) IBOutlet NSArrayController *postsArrayController;
|
||||
|
||||
@end
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@
|
|||
#import "AppDelegate.h"
|
||||
|
||||
#if __IPHONE_OS_VERSION_MIN_REQUIRED
|
||||
|
||||
#import "GlobalTimelineViewController.h"
|
||||
|
||||
#import "AFNetworkActivityIndicatorManager.h"
|
||||
|
|
@ -53,9 +52,7 @@ didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
|
|||
}
|
||||
|
||||
@end
|
||||
|
||||
#else
|
||||
|
||||
#import "Post.h"
|
||||
#import "User.h"
|
||||
|
||||
|
|
@ -93,5 +90,4 @@ didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
|
|||
}
|
||||
|
||||
@end
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Reference in a new issue