You can view the Java API in tree structure. So you c开发者_如何学Pythonan 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.
There is a class browser in Xcode that shows the complete (public) hierarchy. Easy way to see all the UIView subclasses.
There's a great class map in Xcode. Select Design -> Class Model -> Quick Model.
精彩评论