Xcode 4 : Opening brace on the same line

后端 未结 4 635
南方客
南方客 2021-02-06 18:49

I just installed Xcode 4 and the opening brace of the auto generated functions is on a new line.

For example :

- (void)dealloc
{
  [_window release];
  [         


        
4条回答
  •  隐瞒了意图╮
    2021-02-06 19:03

    All the template code that XCode 4 uses to create new class files is in /Developer/Library/Xcode/Templates/File\ Templates/Cocoa/Objective-C\ class.xctemplate

    Just edit those templates to suit your coding style and you are good to go.

提交回复
热议问题