iphone - Generating the tableview in this format Category/subcategoy/subcategory -


i having requirement using tableview have give categories & in every category there subcategory , in every subcategory there subcategory list there.but every subcategory wont have subcategories not mandetory few subcategory has subcategories. in format in need display tableview..

for example:

row 1   subdetails 1     subsubdetails 11     subsubdetails 12     subsubdetails 13   subdetails 2   subdetails 3 row 2   subdetails 1     subsubdetails 11     subsubdetails 12     subsubdetails 13   subdetails 2     subsubdetails 21     subsubdetails 22     subsubdetails 23   subdetails 3     subsubdetails 31     subsubdetails 32     subsubdetails 33 

please me overcome problem.

you can subclass uitableviewcell. in can create views depending on data. in heightforrowatindexpath: calculate height data. dynamic depending on number of subcategories.


Comments

Popular posts from this blog

python - How to create a legend for 3D bar in matplotlib? -

php - Dynamic url re-writing using htaccess -

java - Multi-Label Document Classification -