Quote:
Originally Posted by rocotilos
You can try this:
Code:
if (question.text isEqualToString:@"What was the first programmable computer called?") {
score.text = [NSString stringWithFormat:@"%i", ([score.text intValue] - 1)];
result.text = @"Incorrect";
}
|
Thanks, when i try this i get an error saying "Expected ')' before 'isEqualToString' do you know why this is.