Skip to content

Instantly share code, notes, and snippets.

@felixkiss
Last active December 10, 2015 23:39
Show Gist options
  • Save felixkiss/4511231 to your computer and use it in GitHub Desktop.
Save felixkiss/4511231 to your computer and use it in GitHub Desktop.
Easy comment/uncomment switch between code blocks. Just change the first line to '/*' and it will comment the block1 and uncomment block2 at the same time.
//*
NSLog(@"code block 1");
/*/
NSLog(@"code block 2");
//*/
/*
NSLog(@"code block 1");
/*/
NSLog(@"code block 2");
//*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment