I have to make a tableview with different cells in it. I have three preferences and the table depends on them. There may be 6 different tableviews – 1 cell, 1cell and 3cell, no cell, 2 cell and 3 cell and so on, this depends on preferences
That’s the best way to do this?
Maybe someone knows good example, or tutorial on this
You could make just one
UITableViewwith different sections.Based on your section id you may be returning different cell in
indexPathcontainsrow§ionvalues.Also you might return different number of rows in a section with: