I want to create a table view with a choice of category and subcategory in a UITableView using Objective-C for iOS, but I do not know what to look for and where to start. The content of the category and subcategory is dynamic, it can be one or several, then this will be decided by the result of the web service. and the whole category should collapse at the tap. It should look like this.
Any suggestion and help would be appreciated.
Edit # 1
I tried something but didn't work fine, here is the code for what I still tried. Interest (category and subcategory)
UITableView iOS 8, autolayout , / . ., - http://www.raywenderlich.com/87975/dynamic-table-view-cell-height-ios-8-swift).
FXForms , , . : https://github.com/nicklockwood/FXForms
, CategoryViewController parentCategory.
CategoryViewController
. , , , segue CategoryViewController parentCategory. .