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

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -