candle 0.0.4 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.md +27 -2
- data/VERSION +1 -1
- data/lib/candle/generators/blank.rb +3 -2
- data/lib/candle/generators/help.rb +3 -1
- data/lib/candle/generators/table.rb +129 -0
- data/lib/candle/generators/{lua → templates/blank}/scripts/AppDelegate.lua +0 -0
- data/lib/candle/generators/{lua → templates/blank}/scripts/tests/init.lua +0 -0
- data/lib/candle/generators/{lua → templates/blank}/scripts/tests/someTest.lua +0 -0
- data/lib/candle/generators/templates/project.rake +158 -0
- data/lib/candle/generators/templates/table/WaxApplication/ProtocolLoader.h +12 -0
- data/lib/candle/generators/templates/table/WaxApplication/WaxApplication-Info.plist.tt +36 -0
- data/lib/candle/generators/templates/table/WaxApplication/WaxApplication-Prefix.pch.tt +14 -0
- data/lib/candle/generators/templates/table/WaxApplication/en.lproj/InfoPlist.strings +2 -0
- data/lib/candle/generators/templates/table/WaxApplication/main.m.tt +20 -0
- data/lib/candle/generators/templates/table/WaxApplication.xcodeproj/project.pbxproj +851 -0
- data/lib/candle/generators/templates/table/WaxApplication.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
- data/lib/candle/generators/templates/table/WaxApplication.xcodeproj/project.xcworkspace/xcuserdata/eiffel.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- data/lib/candle/generators/templates/table/WaxApplication.xcodeproj/xcuserdata/eiffel.xcuserdatad/xcschemes/WaxApplication.xcscheme +86 -0
- data/lib/candle/generators/templates/table/WaxApplication.xcodeproj/xcuserdata/eiffel.xcuserdatad/xcschemes/xcschememanagement.plist +22 -0
- data/lib/candle/generators/templates/table/scripts/AppDelegate.lua +33 -0
- data/lib/candle/generators/templates/table/scripts/CapitalsTable.lua +36 -0
- data/lib/candle/generators/templates/table/scripts/StatesTable.lua +50 -0
- data/lib/candle/generators/templates/table/scripts/states.plist +606 -0
- data/lib/candle/generators/templates/table/scripts/tests/init.lua +6 -0
- data/lib/candle/generators/templates/table/scripts/tests/someTest.lua +12 -0
- data/lib/candle/generators/templates/xib/WaxApplication/ProtocolLoader.h +12 -0
- data/lib/candle/generators/templates/xib/WaxApplication/WaxApplication-Info.plist.tt +36 -0
- data/lib/candle/generators/templates/xib/WaxApplication/WaxApplication-Prefix.pch.tt +14 -0
- data/lib/candle/generators/templates/xib/WaxApplication/en.lproj/InfoPlist.strings +2 -0
- data/lib/candle/generators/templates/xib/WaxApplication/main.m.tt +20 -0
- data/lib/candle/generators/templates/xib/WaxApplication.xcodeproj/project.pbxproj +855 -0
- data/lib/candle/generators/templates/xib/WaxApplication.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
- data/lib/candle/generators/templates/xib/WaxApplication.xcodeproj/project.xcworkspace/xcuserdata/eiffel.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- data/lib/candle/generators/templates/xib/WaxApplication.xcodeproj/xcuserdata/eiffel.xcuserdatad/xcschemes/WaxApplication.xcscheme +86 -0
- data/lib/candle/generators/templates/xib/WaxApplication.xcodeproj/xcuserdata/eiffel.xcuserdatad/xcschemes/xcschememanagement.plist +22 -0
- data/lib/candle/generators/templates/xib/scripts/AppDelegate.lua +32 -0
- data/lib/candle/generators/templates/xib/scripts/BlueViewController.lua +23 -0
- data/lib/candle/generators/templates/xib/scripts/BlueViewController.xib +176 -0
- data/lib/candle/generators/templates/xib/scripts/OrangeViewController.lua +24 -0
- data/lib/candle/generators/templates/xib/scripts/OrangeViewController.xib +177 -0
- data/lib/candle/generators/templates/xib/scripts/tests/init.lua +6 -0
- data/lib/candle/generators/templates/xib/scripts/tests/someTest.lua +12 -0
- data/lib/candle/generators/xib.rb +128 -0
- data/lib/candle/version.rb +2 -4
- data/lib/candle.rb +1 -1
- metadata +365 -307
@@ -0,0 +1,20 @@
|
|
1
|
+
//
|
2
|
+
// main.m
|
3
|
+
// WaxApplication
|
4
|
+
//
|
5
|
+
// Created by eiffel on 3/5/13.
|
6
|
+
// Copyright (c) 2013 likenote. All rights reserved.
|
7
|
+
//
|
8
|
+
|
9
|
+
#import <UIKit/UIKit.h>
|
10
|
+
#import "wax.h"
|
11
|
+
#import "wax_http.h"
|
12
|
+
#import "wax_json.h"
|
13
|
+
#import "wax_filesystem.h"
|
14
|
+
int main(int argc, char *argv[]) {
|
15
|
+
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
|
16
|
+
wax_start("AppDelegate.lua", luaopen_wax_http, luaopen_wax_json, luaopen_wax_filesystem, nil);
|
17
|
+
int retVal = UIApplicationMain(argc, argv, nil, @"AppDelegate");
|
18
|
+
[pool release];
|
19
|
+
return retVal;
|
20
|
+
}
|