As project becomes more complex, dependencies between modules are complex, and unreasonable dependencies arise: unnecessary dependencies, bidirectional dependencies, and so on.
In iOS application project, you can define dependencies as an import of a header file.
For example:
1 /* 2 * dsuser.m 3 */ 4 #import " dsuser.h " #import " dsuseraddress.h " 8 9 10 @ End
Then we can say that Dsuser relies on dsuseraddress.
Reference
1. Tool:objective-c Dependency graphing Script for easily improving program Design
Https://maniacdev.com/2011/12/tool-objective-c-dependency-graphing-script-for-easily-improving-program-design
2. Open Source Tool for automatically graphing objective-c class/instance Details
Https://maniacdev.com/2013/01/open-source-tool-for-automatically-graphing-objective-c-classinstance-details
3. Objcviz
Https://github.com/vitonzhang/ObjCViz
http://people.no-distance.net/ol/software/objcviz/(aaaa+)
4. OBJC_DEP
HTTPS://GITHUB.COM/VITONZHANG/OBJC_DEP (Read)
ios.objective-c.dependency.graphing-v0.1