title: iOS can't alloc new object in switch case
body: <p>I have a switch case like this:</p>
  
  <pre><code>  switch ([weatherCode intValue]) {
         case 1:
             ...
             break;
         case 2:
             ....
             break;
    }
  </code></pre>
  
  <p>But i want to alloc an object in that case, like <code>NSString *string = @"hello";</code></p>
  
  <p>but it keep gives me an error <code>expect expression</code> which i don't understand what's going on at all. Please help.</p>
  
  <p>Thanks.</p>