Is there any shortcut key to align code in Xcode? Just like Ctrl+K+D in Visual Studio?
ā + i (ctrl + i) is the shortcut key equivalent to Editor > Structure > Re-Indent ( in Xcode 6.4)
This will re-indent the line the cursor is on if no text is selected, or it will re-indent your selection.