I was trying to create a table view with static and dynamic prototype cells.
So, the thing I want to achieve is like this:
static
static
static
static
dynamic
...
This post on Stackoverflow
, UITableView Mix of Static and Dynamic Cells?, was kind of helpful but it couldn't cover my whole problem.
I want 4 static cells, but also I would like to include controls inside those cells and connect them as outlets, and then add more dynamic cells below.
So is this possible?
Thank you in advance.
EDIT: Approaches I've taken so far
Create a table view with only static cells and then add a new table view inside the original one. However, this approach doesn't look professional, and moreover, when I added datasource and delegate to that new table view, the original table view moved down.
Create two table views for static and dynamic cells, and then include them in one view. This is I think the plausible way, but because I'm a novice developer, couldn't find out how to solve the "static table views should be embedded within a table view controller".