summaryrefslogtreecommitdiff
path: root/xmake/templates/objc/xcode/macapp/src/main.m
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/templates/objc/xcode/macapp/src/main.m')
-rw-r--r--xmake/templates/objc/xcode/macapp/src/main.m16
1 files changed, 16 insertions, 0 deletions
diff --git a/xmake/templates/objc/xcode/macapp/src/main.m b/xmake/templates/objc/xcode/macapp/src/main.m
new file mode 100644
index 000000000..ae3706f51
--- /dev/null
+++ b/xmake/templates/objc/xcode/macapp/src/main.m
@@ -0,0 +1,16 @@
+//
+// main.m
+// test3
+//
+// Created by ruki on 2020/4/4.
+// Copyright © 2020 tboox. All rights reserved.
+//
+
+#import <Cocoa/Cocoa.h>
+
+int main(int argc, const char * argv[]) {
+ @autoreleasepool {
+ // Setup code that might create autoreleased objects goes here.
+ }
+ return NSApplicationMain(argc, argv);
+}