equal
deleted
inserted
replaced
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. |