Sha256: 634baecc7b437594497e84b73c09aad267a413e48d96b67ab79412d7622aa47e

Contents?: true

Size: 589 Bytes

Versions: 6

Compression:

Stored size: 589 Bytes

Contents

//
//  main.m
//  <%= @project_name %>
//
//  Created by <%= @developer.capitalize %> on <%= @created_on %>
//  Copyright(c) <%= Time.now.year %>, All rights reserved.
//

#import <UIKit/UIKit.h>
#import "wax.h"
#import "wax_http.h"
#import "wax_json.h"
#import "wax_filesystem.h"
int main(int argc, char *argv[]) {
    NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
    wax_start("AppDelegate.lua", luaopen_wax_http, luaopen_wax_json, luaopen_wax_filesystem, nil);
    int retVal = UIApplicationMain(argc, argv, nil, @"AppDelegate");
    [pool release];
    return retVal;
}

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
candle-0.0.7 lib/candle/generators/templates/blank/WaxApplication/main.m.tt
candle-0.0.6 lib/candle/generators/templates/blank/WaxApplication/main.m.tt
candle-0.0.4 lib/candle/generators/templates/blank/WaxApplication/main.m.tt
candle-0.0.3 lib/candle/generators/templates/blank/WaxApplication/main.m.tt
candle-0.0.2 lib/candle/generators/templates/blank/WaxApplication/main.m.tt
candle-0.0.1 lib/candle/generators/templates/blank/WaxApplication/main.m.tt