yeah, that's just like a conditional statement
(switchView.on) ? @"IS on" : @"IS NOT on"
The syntax for this statement goes like this....
(condition) ? (statement to execute, if condition is TRUE) : (statement to execute, if condition is FALSE)
So, the '?' here is just for checking the condition....
I hope you got it..
|