Skip to content

ObjectGraph can show oriented graph of dependencies between classes in your project.

License

Notifications You must be signed in to change notification settings

vampirewalk/ObjectGraph-Xcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

86ecfb4 · Jun 30, 2017

History

58 Commits
Dec 10, 2015
Jun 30, 2017
Dec 10, 2015
Dec 10, 2015
Jan 13, 2015
Jan 22, 2015
Mar 8, 2016
Jan 22, 2015
Mar 8, 2016
Jan 21, 2015

Repository files navigation

ObjectGraph

Twitter: @vampirewalk666

ObjectGraph can show oriented graph of dependencies between classes in your project. This plugin is based on objc_dep and Graphviz.

Screenshot

Example

  • Black arrows: imports
  • Red arrows: .pch imports
  • Blue arrows: two ways imports

Usage

The default path of source code parsing is project root path, you can set new path by clicking "Set Source Path Path...". For example, if you just want to parse your product class, not test class or external library class in Pods directory, you can set path to directory which contains your product class and execute "Draw Object Graph" again.

Install

First step, install Graphviz via Homebrew

brew install graphviz

or MacPorts

sudo port install graphviz

Second, install ObjectGraph-Xcode via Alcatraz or Clone and build the project, then restart Xcode.

Uninstall

Uninstall it via Alcatraz or

Run rm -r ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins/ObjectGraph.xcplugin/

Thanks

Thanks to kattrali, I get inspiration and import some code from cocoapods-xcode-plugin.

About

ObjectGraph can show oriented graph of dependencies between classes in your project.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published