Outline view from UITableView

Posted by Raj on Stack Overflow See other posts from Stack Overflow or by Raj
Published on 2010-05-18T13:52:07Z Indexed on 2010/05/19 4:40 UTC
Read the original article Hit count: 432

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

© Stack Overflow or respective owner

Related posts about uitableview

Related posts about iphone