mirror of
https://github.com/ocornut/imgui.git
synced 2024-12-15 06:19:01 +08:00
24 lines
389 B
Mathematica
24 lines
389 B
Mathematica
|
|
||
|
#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
|