cocoaTouch/MainMenuViewController.m
changeset 3199 1a9938a27677
parent 3063 0092dc37fbd6
child 3245 252be02536ab
equal deleted inserted replaced
3198:6947d29c2a24 3199:1a9938a27677
    35 	}
    35 	}
    36 }
    36 }
    37 
    37 
    38 -(void) viewDidLoad {
    38 -(void) viewDidLoad {
    39 	[NSThread detachNewThreadSelector:@selector(checkFirstRun) toTarget:self withObject:nil];
    39 	[NSThread detachNewThreadSelector:@selector(checkFirstRun) toTarget:self withObject:nil];
    40 	
    40 	/*
    41 	char *ver="test";
    41 	char *ver;
    42 	//HW_versionInfo(NULL, &ver);
    42 	HW_versionInfo(NULL, &ver);
    43 	self.versionLabel.text = [[NSString stringWithUTF8String:ver] autorelease];
    43     NSString *versionNumber = [[NSString alloc] initWithCString:ver];
       
    44 	self.versionLabel.text = versionNumber;
       
    45     [versionNumber release];
       
    46     */
    44 	[super viewDidLoad];
    47 	[super viewDidLoad];
    45 }
    48 }
    46 
    49 
    47 - (void)viewDidUnload {
    50 - (void)viewDidUnload {
    48 	// Release any retained subviews of the main view.
    51 	// Release any retained subviews of the main view.