iphone - Outline view from UITableView -


I need to implement 1 level outline from the UITableView. The cells in which the children have children have a '+' symbol And if the user taps on it, then the cells below it should go down and the children of the current selected row should be visible to the cell. The cells should appear sliding and if the user first taps the '-' button of the expanded line, then the children's cells should revolve in the parent.

I tried goggles but I did not get any sign.

How should I start, should I have a UITableView subclass? Or should I apply my own sub-class and should handle all things there?

I somehow feel that this subclass will be easy for UITableView because it will handle all the row selection for us, but I can not

You should do

- (UITableViewCell) *) Table View: (UITableView *) Table View CellForAruthind Pyp at:

You can define the interface via IB, create a blank XIB and drag the Uitable VisageLell, as the owner of the file, your custom outline cell class with. Then add buttons, labels and so on.

Edit: If you want an internal table inside a cell, try the same way that you add a subview to UitableViewCell in a twitable view.


Comments