Joris Kluivers

I like to build software.

#pragma Mark in Xcode4

Xcode 4 introduces a subtle improvement over the older version. Marking sourcecode with headers now only requires a single line:

#pragma mark - Descriptive title

Combined with user snippets it is now a two character sequence for me to add a title to my source code. The snippet template I’m using:

#pragma mark - <#Description#>

Using this snippet adding a mark is as easy as typing: