tags:

views:

96

answers:

3

Hi all, I'm using XCode 3.1.4, I'd like to browse the iOS framework classes visually, eg. the UIKit.framework classes.

I believe this is possible with Class Model facility, the documents here http://developer.apple.com/tools/xcode/xcodefuture.html suggest so:

The Xcode class modeler works with Objective-C, C++, and Java source code files and can give you a look at just a few classes, every class in your project, or even all of the classes in a framework.

I made a Class Model and selected Add All to include everything including the framework's .framework files. However on the generated diagram where I see UITableViewCell, it has no arrows pointing up from it, even though I know this class inherits from UIView. I've played with clicking various ways, the menus and Info but can't see how to see the full inheritance tree of UITableViewCell.

Can anyone advise?

A: 

I see the same thing in the Xcode Class Modeler, so it may be an issue with the tool or a choice made by its authors.

Justin
+3  A: 

This is what I did to make it work:

Select the project:
proj

Then choose Quick Model:
quick model

Then you get a ridiculously large model with all the classes in it.
model

If you wanted the classes from just one framework, you could select just that framework in the files list, instead of the whole project.

jtbandes
Were you able to see UIView as a UITableViewCell superclass?
Justin
A: 

The method you used should give you a correct model, however you may need to move classes around to be able to see the arrows as there are way too many lines present if you model everything at once. The quick model will give the same results using the selection (i.e. if you select your project itself you get everything, and if you select a group of classes you will just get them.

theMikeSwan