Adding multiple custom cells in UITableView
问题 Though this is one of the most asked question but i could not find one comprehensive answer. I need to have custom cells in UITableView. Some containing labels or text fields and some with images and buttons. I have made separate classes for each type of cell. I am using GroupStyle table with multiple sections. Right now I am adding cells in cellForIndexPath with switch-case for section and if-else for rows in section: id cell; switch(indexPath.section) { case 0: if(indexPath.row==0) { CellA