mirror of
https://github.com/blanking003/cx-cocos.git
synced 2025-12-14 00:28:53 +00:00
init
This commit is contained in:
9
cx3-demo/project/cxdemo.ios/mac/main.m
Normal file
9
cx3-demo/project/cxdemo.ios/mac/main.m
Normal file
@@ -0,0 +1,9 @@
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#import "AppController.h"
|
||||
|
||||
int main(int argc, const char * argv[])
|
||||
{
|
||||
id delegate = [[AppController alloc] init];
|
||||
NSApplication.sharedApplication.delegate = delegate;
|
||||
return NSApplicationMain(argc, argv);
|
||||
}
|
||||
Reference in New Issue
Block a user