Is there a more intelligent way to rewrite this?
if ([cardName isEqualToString:@\"Six\"]) { [self setValue:6]; } else if ([cardName isEqualToString:@\"Se
A bit late but for anyone in the future I was able to get this to work for me
#define CASE(str) if ([__s__ isEqualToString:(str)]) #define SWITCH(s) for (NSString *__s__ = (s); ; ) #define DEFAULT