8

I have fallen in love with visual studio's code snippets toolkit. Is there anything similar on Xcode?

eviljack
  • 3,696
  • 8
  • 39
  • 52

3 Answers3

3

You can also take a loot at this question which is about similar issues with XCode 3 (code templates, code completion, and more).

Community
  • 1
  • 1
Pablo Santa Cruz
  • 176,835
  • 32
  • 241
  • 292
2

Xcode 4 has support for code snippets.

Kristopher Johnson
  • 81,409
  • 55
  • 245
  • 302
0

Of course there are. They are under "Edit -> Insert Text Macro".

Or you can simply start typing 'if<ctrl+.>' and this will be expanded into the full if statemenet.

Mykola Golubyev
  • 57,943
  • 15
  • 89
  • 102