开发者

view all the subclass of UIView or NSObject

开发者 https://www.devze.com 2022-12-17 19:57 出处:网络
You can view the Java API in tree structure. So you c开发者_如何学Pythonan view all the subclasses of Object.

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

精彩评论

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

关注公众号