Writing the following preference makes Xcode place the opening brackets
according to the Allman style (which is the easiest on the eyes IMHO) for
the if block
text macro:
$ defaults write com.apple.Xcode XCCodeSenseFormattingOptions '{ "BlockSeparator" = "\n" ; }'
Saved for future reference. Found here: Hidden Xcode build, debug and template settings.