Open rodrigozanatta opened 12 years ago
This is a feature of the new LLVM compiler. I find this particular warning unhelpful (as I often add a final "count" item to the end of my enumerations that I never want to hit in a switch statement), so I've set GCC_WARN_CHECK_SWITCH_STATEMENTS
(AKA: Check Switch Statements) to NO
in my build settings. Feel free to do the same if you don't want to change the code. Or add the default
case. That's perfectly correct as well.
Thanks!
Hi, I don't know if Xcode changed their config, but I download your project and compile it in the last Xcode. It give-me the error:
Enumeration values 'UIGestureRecognizerStatePossible', 'UIGestureRecognizerStateCancelled', and 'UIGestureRecognizerStateFailed' not handled in switch
Is just add a default: break; line to solve, but is a compile error..