1

I have a Debug statement that I use quite often that I would like to build a Xcode shortcut for so I don't have to type it in all the time, how is it possible to make a shortcut that inserts a code snippet as below?

 if([NWTillHelper isDebug] == 1) {
        NSLog(@"---- CHANGE THIS ----", __PRETTY_FUNCTION__);
 }
jscs
  • 63,694
  • 13
  • 151
  • 195
Matt Douhan
  • 2,053
  • 1
  • 21
  • 40

0 Answers0