Reputation: 559
I was wondering if it was possible within a plain style tableView to have one of the sections with a grouped style?
Thanks Stewart
Upvotes: 0
Views: 149
Reputation: 17732
The style is applied to the entire UITableView
. You could theoretically get around this by having the first cell in a normal style table be another table view that has the grouped style, and then the remainder of the cells are as normal. Or the first cells are normal, and the last cell is the grouped style tableview, depending on if you wanted the grouped style first or not
Upvotes: 1
Reputation: 1245
No, it is not, because both of them are styles that apply to whole UITableView
instance. What you can do is for example split your table into sections and use custom cells. It will take you some time, but it should work.
Upvotes: 1
Reputation: 1045
No, the better solution would be to have two UITableViews. I'm guessing that the data in these tables are different anyway, so this would be much more ideal approach.
Upvotes: 3