XCode: Adjusting indentation of auto-generated braces?

Posted by Nocturne on Stack Overflow See other posts from Stack Overflow or by Nocturne
Published on 2008-12-25T11:21:29Z Indexed on 2010/04/10 15:43 UTC
Read the original article Hit count: 353

Filed under:

Code auto-generated by XCode seems to have the opening brace on the same line by default:

@interface Controller : NSObject {

}

I'd like the opening brace on a line of its own, like this:

@interface Controller : NSObject 
{

}

This applies in general to any method / class auto-generated by XCode. In XCode preferences I have "Indent solo { by" set to 0: alt text

How can I fix this?

© Stack Overflow or respective owner

Related posts about xcode