-
Notifications
You must be signed in to change notification settings - Fork 99
SourceKitten support
Paul Taykalo edited this page Mar 7, 2017
·
2 revisions
As one of the inputs depviz supports SourceKitten output While in general dependency visualizer tends to show dependencies, SourceKitten output has rather inheritance graph. It still useful to show class/protocol inheritance, but it doesn't show any hidden dependecies or other classes usage.
Ensure you have SourceKitten properly installed and check its usage guide.
Example:
sourcekitten doc -- -workspace Awesome.xcworkspace -scheme Awesome > awesome.json
OR
sourcekitten doc
./generate-objc-dependencies-to-json.rb -k awesome.json > origin.js
Thanks for Swift Relationship Graph project for the sourcekitten idea