Include forward class declarations in analysis
It would be great if the graph also included forward class declarations as dependencies. Some coding conventions call for using them instead of #import, and having an #import only in the .m file.
objc_dep scans also .m files and finds all #import in them. Is this enough?
I think so, but when I used objc_dep 2 months ago I'm pretty sure that didn't work as expected. (I tested it on Facebook's 3.2.1 SDK, and the graph was missing all the #imports that were defined in the .m files only.)
Just checked this in a much smaller app, imports are found via .m files. Cannot reproduce, sorry...
However if first header has class forward declaration and actual class import is not in .m file but found via another imported header, then first class has no visible dependency with forward declared class. So yes, looks like a place to improve.