why switch will expect statement before loading nib
- by kiran kumar
In Switch statement
Example
switch (indexPath.row)
case 0:
Loading my nib file;
break;
case 1:
Loading another nib file;
break
default:
break
........
Before loading my nib file. It expects any one statement.
example
case 0:
NSLog(@"");
Loading Nib file....
My its expect the statement NSLog(@"");....... If i need not put NSLog... or any other statement its gives me error.....
I want to know why its like that.