You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and dots ('.'), can be up to 35 characters long. Letters must be lowercase.
22 lines
388 B
22 lines
388 B
#import <TargetConditionals.h> |
|
|
|
#if TARGET_OS_IPHONE |
|
|
|
#import <UIKit/UIKit.h> |
|
#import "AppDelegate.h" |
|
|
|
int main(int argc, char * argv[]) { |
|
@autoreleasepool { |
|
return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); |
|
} |
|
} |
|
|
|
#else |
|
|
|
#import <Cocoa/Cocoa.h> |
|
|
|
int main(int argc, const char * argv[]) { |
|
return NSApplicationMain(argc, argv); |
|
} |
|
|
|
#endif
|
|
|