You can indent for a file, group, project, or for all new projects, and for all files except the indent, the new source code files will inherit the indent settings of the nearest parent.
To indent each file , select the file in the Project Navigator and set the indent in the File Inspector ▶ Text options .

To indent each group , select the group in the Project Navigator and set the indent in the File inspector ▶ Text options .

To indent each project , select the project in the Project Navigator and set the indent in the File inspector ▶ Text options .

To set the default indent for new projects , select Xcode ▶ Settings ... ▶ Edit Text ▶ Indent :

Scott Gardner Oct 30 '17 at 20:00 2017-10-30 20:00
source share