summaryrefslogtreecommitdiff
path: root/tools/ios_xcode_template/godot_ios/main.m
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2014-02-15 02:01:39 -0300
committerJuan Linietsky <reduzio@gmail.com>2014-02-15 02:02:41 -0300
commit9afdb3e0ad5bfbdafe307212f5d4ebcc7c3ac852 (patch)
treed25ef63dfe50d59987b4a611c1d1773185a3e35d /tools/ios_xcode_template/godot_ios/main.m
parentb0870e487c6cc68bb0a2cef7174f3f5697667a2e (diff)
-fixed bug in Button now exporting font property
-made GUI Theme editor usable -editor does not allow to export or create .pck in the same path as a project -changed .pck format (lacked support for versioning so couldn't change it), previous was causing crashes and is now incompatible, just re-export. -will not look for .pck files recursively, was causing unexpected behaviors -fixed execution of Godot in paths with non unicode characters in Windows, OSX and Linux.
Diffstat (limited to 'tools/ios_xcode_template/godot_ios/main.m')
-rw-r--r--tools/ios_xcode_template/godot_ios/main.m18
1 files changed, 18 insertions, 0 deletions
diff --git a/tools/ios_xcode_template/godot_ios/main.m b/tools/ios_xcode_template/godot_ios/main.m
new file mode 100644
index 0000000000..dca55f40ce
--- /dev/null
+++ b/tools/ios_xcode_template/godot_ios/main.m
@@ -0,0 +1,18 @@
+//
+// main.m
+// godot_ios
+//
+// Created by Ariel m on 2/14/14.
+// Copyright (c) 2014 Okam. All rights reserved.
+//
+
+#import <UIKit/UIKit.h>
+
+#import "AppDelegate.h"
+
+int main(int argc, char * argv[])
+{
+ @autoreleasepool {
+ return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
+ }
+}