Cut to the chase I have recreated my problem as it is fairly self explanatory.
this complies without error:
switch (n) { case 1
case 0: { Loading my nib file; break; } case 1: { Loading another nib file; break; } Note that if you don't have an assignment (x = y) right after the case it won't be a problem. For example: