project_files/HedgewarsMobile/Classes/MainMenuViewController.m
changeset 3660 bc125bea5849
parent 3621 a8ddf681ba7d
child 3662 a44406f4369b
equal deleted inserted replaced
3659:f8d5ac50e307 3660:bc125bea5849
    52 
    52 
    53 // this is called to verify whether it's the first time the app is launched
    53 // this is called to verify whether it's the first time the app is launched
    54 // if it is it blocks user interaction with an alertView until files are created
    54 // if it is it blocks user interaction with an alertView until files are created
    55 -(void) checkFirstRun {
    55 -(void) checkFirstRun {
    56     NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
    56     NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
    57     NSLog(@"First time run, creating settings files at %@", SETTINGS_FILE());
    57     DLog(@"First time run, creating settings files at %@", SETTINGS_FILE());
    58     
    58     
    59     // show a popup with an indicator to make the user wait
    59     // show a popup with an indicator to make the user wait
    60     UIAlertView *alert = [[UIAlertView alloc] initWithTitle:NSLocalizedString(@"Please wait",@"")
    60     UIAlertView *alert = [[UIAlertView alloc] initWithTitle:NSLocalizedString(@"Please wait",@"")
    61                                                     message:nil
    61                                                     message:nil
    62                                                    delegate:nil
    62                                                    delegate:nil