Open main menu

CDOT Wiki β

Changes

How to set up tab spaces

573 bytes added, 22:38, 2 February 2011
no edit summary
<br />
 
==XCode==
 
 
<i>If you're using a Mac (or Hackintosh), you're most likely using XCode. It can be a little tricky to find the Preferences for indentation, but other than that, it isn't a pain to set up tabs.</i>
 
 
<ol>
<li>Within XCode, select Preferences from the main menu or press <b>Command-,</b>.</li>
<li>Under the tabs, you'll find a left-right scroll bar. Scroll right and select Indentation.</li>
<li>Under Tabs, check "Tab key inserts tabs, not spaces.</li>
<li>In the Tab width field, enter 2.</li>
<li>In the Indent width field, enter 2.</li>
<br /> <br /> <br />