Generating a class diagram for iPhone app
Is it possible to generate a class diagram for an iPhone application. I wanted to see t开发者_开发知识库he flow of the code in a huge application.
You could try using the "Quick Model" option in xCode.
1°) Select the project name in xCode (in the left column)
2°) Click on the "Design" menu (after "Run" and before "SCM")
3°) Select "Class Model" => "Quick Model"
It should give you a kind of class diagram for the iPhone App :-) But be aware it's not completely the class diagram you may know (uml & co).
To create a "real" UML diagram with all it's features and overhead, you could use a tool like Visual Paradigm. I haven't tested it for Objective C myself but for it worked pretty well for C++/Java/C# and Objective C is supported, according to the website. It also runs on a Mac and the free community-edition should be sufficient for you.
精彩评论