Tool: Objective-C Dependency Graphing Script For Easily Improving Program Design

If you are looking to create better designed programs, I came across a very interesting script that creates a graph of the dependencies within your Objective-C code.

The graph can then be viewed in the open source graph visualization tool Graphviz or in Omnigraffle.

This is great as you can easily see those places where you may be better off using notification and delegation rather than using a graph directly.

On the Github page here you can download the script and you can also find a great example demonstrating a real example of how the tool was used in taking the tightly coupled code from one project, and turning it into a more efficient design.

For viewing the graphs you can download Graphviz here.

A great tool for visualizing ways to improve your code design.

©2011 iPhone, iOS 5, iPad SDK Development Tutorial and Programming Tips. All Rights Reserved.

.

DeliciousTwitterTechnoratiFacebookLinkedInEmail


Leave a Reply

Your email address will not be published. Required fields are marked *