Auto-generated code by Xcode puts the opening brace on the same line by default.
To change that you would have to overwrite the default template. Run this in the Terminal:
defaults write com.apple.Xcode XCCodeSenseFormattingOptions '{ "BlockSeparator" = "\n" ; }'