I’m not sure what I’m doing wrong, but Xcode keeps saying “Expected expression”. What is wrong with the else if, or statement below?
else if ([currentClass rangeOfString:@"English"].location != NSNotFound) || ([currentClass rangeOfString:@"Literature"].location != NSNotFound) {
cell.imageView.image = [UIImage imageNamed:@"englishicon.png"];
}
Thanks for your help
You’re missing an extra set of parentheses for the entire
if().