开发者

view all the subclass of UIView or NSObject

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜