You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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..
The text was updated successfully, but these errors were encountered: