Why does the compiler throw an "Expected expression" error when creating an NSString object in a switch block?
switch (a) { case 1: NSString *f; //Expected expression break; default: break; }
Why does the compiler throw an "Expected expression" error when creating an NSString object in a switch block?
switch (a) { case 1: NSString *f; //Expected expression break; default: break; }
Source: https://ru.stackoverflow.com/questions/264616/
All Articles