title: How to create category and subcategory selection in UITableView in iOS Objective-C
body: <p>I want to create a table view with category and subcategory selection in UITableView with Objective-C for iOS but I do't know what to search and from were to start. The content of the category and subcategory are dynamic it can be one or more then it will be decided by web service result. and all category should be collapse on tap.
  It should look like this.
  <img src="https://i.stack.imgur.com/sMUN7.png" alt="enter image description here"></p>
  
  <p>Any suggestion and help will be appreciated  </p>
  
  <p>Edit #1 </p>
  
  <p>I have tried something but not working fine here is the code for what i have tried yet.
  <a href="https://github.com/varun-naharia/CategoryCheckBox" rel="nofollow noreferrer"> Interest (Category and Subcategory)</a></p>