title: Can Objective-C switch on NSString?
body: <p>Is there a more intelligent way to rewrite this?</p>
  
  <pre><code>if ([cardName isEqualToString:@"Six"]) {
      [self setValue:6];
  } else if ([cardName isEqualToString:@"Seven"]) {
      [self setValue:7];
  } else if ([cardName isEqualToString:@"Eight"]) {
      [self setValue:8];
  } else if ([cardName isEqualToString:@"Nine"]) {
      [self setValue:9];
  } 
  </code></pre>