views:

287

answers:

2

You can view the Java API in tree structure. So you can view all the subclasses of Object.

How would I view all the subclasses of UIView or NSObject IPhone Cocoa API?

I just found out you can do this:

self.tableView.tableHeaderView = searchBar;

searchBar is subclass of UIView. I want to add a textField to a tableView. I wonder if there is a similar control,say inputbar, that subclasses UIView:

self.tableView.tableFooterView = inputBar;

This inputBar would do the same job the IPhone message app's input textField.

Cheers.

+3  A: 

There is a class browser in Xcode that shows the complete (public) hierarchy. Easy way to see all the UIView subclasses.

St3fan
Thanks very much.xcode->project->class browseror short cut shift+cmd+c
Michael Z
A: 

There's a great class map in Xcode. Select Design -> Class Model -> Quick Model.

Ben Gottlieb
hi Ben:Thanks very much for your help.The Quick model shows the class diagram of my own application. I am after the whole Cocoa API
Michael Z