Beginner’s question here:
If I’m writing an If statement that I want to pertain to range of values, specifically tags, is there an easier way to do it besides using the Logical OR?
if (tableView.tag == 1 || tableView.tag==2 || tableView.tag==3) { do something}
This doesn’t look very efficient..
1 Answer