tags:

views:

15

answers:

1

once I start editing my code and adding for loops or if then statements my code indentation is whacked because the previous code maintains it's former indentation instead of adjusting automatically.

In visual studio you can highlight code and select 'format selection' to fix these issues - is there anything similar in xCode?

+1  A: 
  1. select text
  2. right-click
  3. there's a "Re-indent selection" item in popup menu
Vladimir