title: How to detect unused methods and #import in Objective-C
body: <p>After working a long time on an iPhone app, I realized that my code is quite dirty, containing several #import and methods that are not called or useful at all.</p>
  
  <p>I would like to know if there's any compiler directive or way to detect those useless lines of code. Does Xcode have any tool to detect this?</p>