Quote:
Originally Posted by xiii3
- (IBAction)levelUpPress  id)sender
{
level++;
levelText.text = [NSString stringWithFormat:@"%i", level];
}
ok typo... but what do i do with the level bit...? the label will follow the number of my level.... but where do i define it? at the minute the 'level' is an undeclared function and i have no idea where to put it... sorry this part of programming is new to me completely.
|
level is an NSInteger. I assumed you declared this in your header file.