Xcode 4 : Opening brace on the same line

后端 未结 4 643
南方客
南方客 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:18

    MarkC's answer has the right idea, but these aren't the templates you're looking for .

    The templates you need to edit are in either

    /Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Templates
    

    or

    /Developer/Platforms/MacOSX.platform/Developer/Library/Xcode/Templates
    

    depending on which platform you're targeting.

提交回复
热议问题