I\'m trying to make a simple app with a button a score counter and a timer but I\'m getting some errors
#import @interface xyzViewCont
You want semicolons inside the function like so:
- (IBAction)buttonPressed { count++; scoreLabel.text = [NSString stringWithFormat:@"Score \n %i", count]; }
This is the correct syntax to use.