Michael Z
Michael Z

Reputation: 4614

view all the subclass of UIView or NSObject

You can view the Java API in tree structure. So you can 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.

Upvotes: 2

Views: 1902

Answers (2)

Ben Gottlieb
Ben Gottlieb

Reputation: 85532

There's a great class map in Xcode. Select Design -> Class Model -> Quick Model.

Upvotes: 0

Stefan Arentz
Stefan Arentz

Reputation: 34935

There is a class browser in Xcode that shows the complete (public) hierarchy. Easy way to see all the UIView subclasses.

Upvotes: 4

Related Questions