title: Switch statement not being entered?
body: <p>Have the most bizarre problem that I can't figure out. In the method below, the switch statement is not being entered. When I print out the value of <code>warningAlertViewType</code>, it's correct, but the switch statement is not activating for some reason. I've used this same methodology for a switch before and it's worked fine. </p>
  
  <p>Does anyone know what might be going on to cause this?</p>
  
  <pre><code>+ (WarningAlertView*) warningAlertViewWithType:(WarningAlertViewType)warningAlertViewType
      {
          WarningAlertView *warningAlertView = nil;
          NSLog(@"WarningAlertViewType1: %d", warningAlertViewType);
          switch (warningAlertViewType)
          {
                  NSLog(@"Test1");
              case WarningAlertViewTypeExit:                  warningAlertView = [[ExitWarningAlertView alloc] init]; break;
              case WarningAlertViewTypeFacebook:              warningAlertView = [[FacebookWarningAlertView alloc] init]; break;
              case WarningAlertViewTypeDelete:                warningAlertView = [[DeleteWarningAlertView alloc] init]; break;
              case WarningAlertViewTypePhotoLibrary:          warningAlertView = [[PhotoLibraryWarningAlertView alloc] init]; break;
              case WarningAlertViewTypeBack:                  warningAlertView = [[BackWarningAlertView alloc] init]; break;
              default: break;
          }
          NSLog(@"Test2");
          return [warningAlertView autorelease];
      }
  </code></pre>