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:
pm<tab>