Posted By

gerhardsletten on 10/18/09


Tagged


Versions (?)

Switch language syntax


 / Published in: Objective C
 

  1. switch (var)
  2. {
  3. case 0:
  4. break;
  5. case 1:
  6. break;
  7. case 2:
  8. break;
  9. (default)
  10. break;
  11. }

Report this snippet  

You need to login to post a comment.