View on GitHub

Objc-dependency-visualizer

Objective-C class dependency visualizer. It's tool that helps to visualize current state of your project. It's really easy to see how tight your classes are coupled.

Download this project as a .zip file Download this project as a tar.gz file

Objective-C Dependency generator

Hi there. Here's what we have here:

Dependency graph for Objective-C projects.

Example

Here's a small example of some example project that was written on objective-c
You can play around with parameters, zoom, select/deselect nodes, and filter nodes by classnames they represents

Usage

Left click on the circle will show dependencies and dependent classes

Right click on the circle will show dependency tree (dependecies, and dependencies of dependencies and so on)

Click on the circle again to switch off dependecy mode

How it works

  1. Compiled project
  2. Ruby script that generates Dependency graph with information from object files those were generated on the compilation phase
  3. Graph visualiser(HTML+Javasript) that takes JSON after Ruby script as input, and builds visual representation of dependency graph with d3js library tool
  4. Profit

Wanna try?

Here's "one line" script that will do all the work

git clone https://github.com/PaulTaykalo/objc-dependency-visualizer.git ;
cd objc-dependency-visualizer ;
./generate-objc-dependencies-to-json.rb -s "" > origin.js ;
open index.html

Questions?

All other information can be found on the project page