Quick way to fix Xcode warnings

Viewed 5216

I've been switching between versions of Swift in Xcode 6 and my project now has 220 warnings. Mostly minor code suggestions.

Is there an easy way in Xcode to run through all the warnings and use the "Fix-it" tool to auto correct it?

I would like to review each warning, then click a button to fix the warning, and then skip to next warning. Otherwise it's going to take me a few hours to manually get through each warning.

3 Answers

control - option - command - f

⌃ ⌥ ⌘ f

Just type

⌘ Enter

afterward to adjust back to normal screens view.

Related