summaryrefslogtreecommitdiff
path: root/xmake/repository/templates/objc/xcode/macapp/src/main.m
diff options
context:
space:
mode:
authorruki <[email protected]>2026-03-04 00:40:11 +0800
committerruki <[email protected]>2026-03-04 00:40:11 +0800
commit078b2ee0b6087a70bae05d3fa86d01078786513c (patch)
tree6f28e600fd9dcfb11bebb7abf02d36ebf1b7a685 /xmake/repository/templates/objc/xcode/macapp/src/main.m
parente0e20ef6ddbd0fc62fbaa00d195ce95f22a86fdf (diff)
move templates to repository
Diffstat (limited to 'xmake/repository/templates/objc/xcode/macapp/src/main.m')
-rw-r--r--xmake/repository/templates/objc/xcode/macapp/src/main.m16
1 files changed, 16 insertions, 0 deletions
diff --git a/xmake/repository/templates/objc/xcode/macapp/src/main.m b/xmake/repository/templates/objc/xcode/macapp/src/main.m
new file mode 100644
index 000000000..ae3706f51
--- /dev/null
+++ b/xmake/repository/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);
+}