Using Xcode the right way is as important as sitting on a comfortable chair to endure long hours of coding. This is my personal note to remind me on what to do when I need to do a fresh Xcode install, and its shortcut. Get rid of those trailing whitespace Method 1: Xcode preferences This is best described by John Sundell’s tweet on why you should enable this option. Very useful if you need to entertain linting tools such as SwiftLint or Codacy.