title: Xcode block (NSMallocBlock) indentation (braces automatically starting from new line)
body: <p>I want to open blocks with braces starting at new line.</p>
  
  <p>Let's move away from philosophical discussion of whether this is a good decision or not -- <code>regardless of 'where' and 'when', 'how' remains absolute.</code></p>
  
  <p>So, the problem is described below:</p>
  
  <p><a href="https://i.stack.imgur.com/FtY2z.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FtY2z.png" alt="enter image description here"></a></p>
  
  <p>Is there a way to achieve this?</p>
  
  <hr>
  
  <p>I was looking around for quite a while, but I didn't find any solutions. </p>
  
  <p>I am already aware of such things as:</p>
  
  <ol>
  <li><p><a href="http://cocoaholic.com/snippet_edit/" rel="nofollow noreferrer">Snippet Edit</a> -- this little program will allow to edit default Xcode's code snippets. So, you will be able to open braces from new line in your <code>if</code>, <code>for</code>, <code>while</code>, etc. However, this doesn't allow to change the block indentation.</p></li>
  <li><p><a href="http://blog.manbolo.com/2015/05/14/code-beautifier-in-xcode" rel="nofollow noreferrer">Uncrustify</a> -- this might solve my problem, but it doesn't look like being easy to set up. And it only formats the code <strong>after</strong> it is already written, instead of formatting <strong>'on the go'</strong>. Moreover, even if I set <code>uncrustify</code> correctly, it will still be quite slow -- about 4 mouse clicks are required to format the block, which is time consuming.</p></li>
  </ol>
  
  <p>Is anybody aware of any other solutions?</p>
  
  <p><strong>EDIT:</strong></p>
  
  <p>To be more specific, I want the block to be indented <strong>as soon as</strong> I press <code>ENTER</code> on this step:</p>
  
  <p><a href="https://i.stack.imgur.com/1j8bz.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/1j8bz.png" alt="enter image description here"></a></p>