title: How to fix an NSString Expected expression error in a switch statement?
body: <p>I'm getting an "expected expression" error in a switch statement on the first line of the code below in this NSString: <code>NSString *emailTitle = @"some text";
  </code> </p>
  
  <pre><code>break;
      case 4:
          // mail
          // Email Subject
          NSString *emailTitle = @"some text";
          // Email Content
          NSString *messageBody = @"http://www.example.com/";
          // To address
          NSArray *toRecipents = [NSArray arrayWithObject:@""];
  
          MFMailComposeViewController *mc = [[MFMailComposeViewController alloc] init];
          mc.mailComposeDelegate = self;
          [mc setSubject:emailTitle];
          [mc setMessageBody:messageBody isHTML:NO];
          [mc setToRecipients:toRecipents];
  
          // Present mail view controller on screen
          [self presentViewController:mc animated:YES completion:NULL];
  
          break;
      case 5:
  </code></pre>
  
  <p>Without this piece of email code the switch statement works fine.</p>
  
  <p>thanks for any help</p>