I am trying to create a UITableView that looks like the image below, but not quite sure how to set it up. Should I create multiple custom cell, should I use sections? Or what do you guys think? Appreciate any help.
Image designed in photoshop (the blue once are buttons):
1- Create sections dependent on the number you need in your case 3 sections and dependent on section number show the cell
2- Create two custom cells .xib and each one has its own design and at each time you are doing cellForItemAt check on the cell index for the row and show the cell you need.
2
Answers
Your design can be accomplished as follows:
You have two options:
1- Create sections dependent on the number you need in your case 3 sections and dependent on section number show the cell
2- Create two custom cells
.xib
and each one has its own design and at each time you are doingcellForItemAt
check on the cell index for the row and show the cell you need.