Searching
Incremental Search
Another way to search, which does not restrict the content of the class list - is to use incremental search.
Simply ensure that you have focus on the class list (as in all the screen shots above) and then start typing. The letters you type will appear in orange at the top right hand corner.
Stop typing and the list will highlight all occurrences of what you typed, and the focus/highlight will jump to the first occurrence.
Press Apple-G to advance to the next occurrence, or Shift-Apple-G to go to the previous occurrence.
This is useful if you are browsing the list, rather than homing in on something specific. With incremental search you can browse very quickly using only the keyboard.
You can enter a new search-type simply by waiting a small amount of time and starting to type again.
Copy / Paste
The currently selected objects in the class-list can be copied to the clipboard. The following can be copied:
-
1.Classes / Protocols - the contents of the pseudo-header view are copied to the clipboard
-
2.Methods - the method, without a line-break, is copied to the clipboard
Keyboard Navigation
As usual in a Cocoa application, the keyboard can be used to navigate between different views and controls.
The only additional tip here, is that pressing the left-arrow key while your current highlight is a method - will close the tree structure for that method. The default behaviour of a Cocoa app would be to do nothing.
What is missing?
Honestly said: nothing - because there isn’t a specification! But more sensibly, I can think of the following things that could potentially be in the application.
-
1.Saving the obtained meta-data - doing this would theoretically allow one to ‘diff’ meta-data collections, in order to see the changes made to the Cocoa classes over time. The collections could be placed on a shared resource for all to use - i.e. the Cocoa classes as used in each major revision of Mac OS X.
-
2.Load up ‘Applications’ or ‘Libraries’ into a document, showing all the contained classes and protocols etc. This in practice would be the ‘class-dump’ utility, but via GUI.
-
3.A way of showing the classes that use a particular protocol.
-
4.Category discovery, showing which categories exist for classes - I’ve heard this must be done by reading the Mach-O object files.