Joris Kluivers

I like to build software.

Code Snippets in Xcode4

Xcode4 introduces user customizable code snippets as a prominent feature in the editor.

How to add a new snippet:

  1. Select the text you wish to create a snippet for

  2. Drag the code to the snippet library

  3. Introduce variables using <# Title #> markup

  4. Save.

From now on I’ll post useful snippets I’m using on this weblog: follow the tag snippet for updates.