title: Code-formatter for Objective-C
body: <p><a href="https://stackoverflow.com/questions/170601/objective-c-tidy">Similar</a> questions have been asked before, but they didn't help me with what I'd like to do:</p>
  
  <p>I want to re-format existing Objective-C code (several hundred files). For pure Apple-style formatting, <em>uncrustify</em> seems to do what I want. But for a few projects, I need a different style that I haven't found out how to configure <em>uncrustify</em> for. In this style, long method calls look like this (<strong>please refrain from discussing whether you like that style or not; do not suggest to use a different style</strong>):</p>
  
  <pre><code>[self
      longMethod:arg1
      withLots:arg2
      ofArguments:arg3
      aBlock:^{
         [self doSomething];
      }
      andAnotherBlock:^{
         [self doSomethingElse];
      }
  ];
  </code></pre>
  
  <p>This wrapping is done when the method call would exceed a line length of 80 or 100 characters. Each line is indented by one level and contains exactly one argument and the selector part up to the corresponding <code>:</code>. The lines thus are <em>not</em> colon-aligned.</p>
  
  <p>No wrapping is done if the line length is below 80 or 100 characters:</p>
  
  <pre><code>[self shortMethod:withAnArgument];
  </code></pre>
  
  <p>Is there a code formatter that can be tweaked to support this style? If so, which and more importantly, <strong>how</strong>?</p>