Quote:
Originally Posted by knut
Hi All
is there (i mean in xcode) any tool which can determine unused methods , classes and unused images in code.
Thank You
|
I'm not sure if there is. Figuring out unused methods and classes is much harder than you might think because of the dynamic nature of Objective C. You can invoke methods at runtime using selectors, and you can create selectors using strings, so the compiler can't tell for sure when a method won't be used, or even when a class does not get invoked.
I also am not aware of any tools that identify unused images, for similar reasons. You can build filenames through code and then use those names to load images.