FTFoldingTableView
FTFoldingTableView copied to clipboard
Nested cells
It would be really awesome if you could have nested cells. Say, I'd like to display the following:
Restaurant
Table
Chair
Chair
Table
Chair
Restaurant
Table
Chair
I'd like to be able to collapse on the restaurant level, but also on the table level.
@property (nonatomic) NSInteger indentationLevel; // adjust content indent. default is 0 @property (nonatomic) CGFloat indentationWidth; // width for each level. default is 10.0
check out these two properties in UITableViewCell.h. with these two properties provided, it's totally doable. I will write this demo for you very soon.
didnt find these property ?
i didnt use these property in this project.
check this out: https://github.com/liufengting/FTFoldableTableView I wrote this demo, and it's not finished yet. I think it maybe the thing you want. I haven't have the idea to set up the model, and the collapse. I hope it will give you an idea.
I will check this out tomorrow. Thanks for creating such a quick demo.