Objective C 加入 lua

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions

{

    self.window = [[UIWindowalloc] initWithFrame:[[UIScreenmainScreen] bounds]];

    wax_start("one.lua",nil);

    self.window.rootViewController = [[UIViewControlleralloc]init];

    self.window.backgroundColor = [UIColorwhiteColor];

    [self.windowmakeKeyAndVisible];

    returnYES;

}

 

posted @ 2014-04-16 15:54  needly  阅读(193)  评论(0编辑  收藏  举报