title: How to uninstall Xcode 6 and remove all related files
body: <p>I need to completely reinstall Xcode 6 and remove all the files and settings with it.</p>
  
  <p>I know that it is uninstalled so that you go to mission control, long click on it and then click on the X button, like on iPhone.</p>
  
  <p>I also know that you can drag it to trash from applications.</p>
  
  <p>But after all those, when I install it again through AppStore and open the last project I was working on, Xcode will open the project on exactly the same class where i t was shut down and even show the last error I faced!</p>
  
  <p>I don't want that. That means that some User Preferences are still saved somewhere and I want to get rid of them as I have never ever had Xcode installed on my Mac.</p>
  
  <p>How to do that?</p>