views:

19

answers:

2

Say I'm learning about the UIGestureRecognizer class. In the intro text it mentions UITapGestureRecognizer and UIRotationGestureRecognizer as two concrete implementations. But what other recognizers are there? This is just one example where I'd like to see a list of all the types in the framework that derive from a base class or implement a protocol. In the .NET docs, Microsoft provides a link to all known derived types in the SDK. Is something like this available from Apple?

+2  A: 

If you have an open project, you can go to the Class Browser in the Project menu. It will show you the entire class hierarchy or all the classes in a flat list.

As a shortcut for your own classes, you can click on the C in the top right corner of a source or header file. It will show a summary of the view hierarchy for that class, if the source is in the project.

Here is a small hierarchy that happens to include the gesture recognizers and some other common classes. Scroll down to the bottom.

drawnonward
A: 

You might also be interested in AppKiDo-for-iPhone. (I'm the author.) It's a free documentation browser. One feature is that you can easily see the class hierarchy.

http://homepage.mac.com/aglee/downloads/appkido.html