Outline view from UITableView
- by Raj
Hi guys,
I need to implement a 1 level outline view out of UITableView. The cells which have children in them will have a '+' symbol and if user taps on it, the cells below it should slide down and the children cells of current selected row should appear. The sliding of cells should be visible and if the user taps '-' button of the already expanded row, the children cells should slide back into the parent.
I have tried googling but did not find any pointers.
How should I start, should I subclass UITableView? Or should I implement my own view sub-class and handle all the stuff there?
I somehow feel it would be easier to sub-class UITableView because it will handle all the row selection for us, but I cannot figure out how to do it.
Thanks and Regards,
Raj