equal
deleted
inserted
replaced
79 -(void) applicationDidFinishLaunching:(UIApplication *)application { |
79 -(void) applicationDidFinishLaunching:(UIApplication *)application { |
80 [application setStatusBarHidden:YES animated:NO]; |
80 [application setStatusBarHidden:YES animated:NO]; |
81 |
81 |
82 /* Set working directory to resource path */ |
82 /* Set working directory to resource path */ |
83 [[NSFileManager defaultManager] changeCurrentDirectoryPath: [[NSBundle mainBundle] resourcePath]]; |
83 [[NSFileManager defaultManager] changeCurrentDirectoryPath: [[NSBundle mainBundle] resourcePath]]; |
|
84 //#import "SoundEffect.h" |
|
85 // SoundEffect *erasingSound = [[SoundEffect alloc] initWithContentsOfFile:[mainBundle pathForResource:@"Erase" ofType:@"caf"]]; |
|
86 // SoundEffect *selectSound = [[SoundEffect alloc] initWithContentsOfFile:[mainBundle pathForResource:@"Select" ofType:@"caf"]]; |
84 |
87 |
85 [window addSubview:controller.view]; |
88 [window addSubview:controller.view]; |
86 [window makeKeyAndVisible]; |
89 [window makeKeyAndVisible]; |
87 } |
90 } |
88 |
91 |