Detecting unused methods iOS
ios, xcode
Solution
A quick way to check while browsing your source code is the View > Standard Editor > Show Related Items menu (shortcut key: ^1). Place your cursor within a method body and then view the Callers.
Problem
Very simple question and hopefully isn't duplicated :). The situation is following: `Project` has been developing more then a year and by many developers. From time to time I'm facing with `unused` methods (which are defined in .h and .m) obviously I'm not getting any `warnings`. This is not critical, but I would like to have project cleared from all unnecessary staff. Of course I can search for all methods and define which are unused in project but I wonder if there is more elegant way?! Thanks