A
A
Anton Parfenov2016-02-20 15:42:05
iOS
Anton Parfenov, 2016-02-20 15:42:05

UITableView inside UITableViewCell, is it possible to organize this and if so, how?

Hey guys.
There was such a problem, there is a table controller, it is static in it so far 2 sections (there will be more, but I think this is not important). In the first section there are 3 cells in the first one everything is ok and in the third one everything is ok, but in the second cell you need to display data of different lengths and the cell itself should be dragged down automatically. I decided that only a table inside a cell would suit me
, there are two key and value labels in it, here is a screen: https://yadi.sk/i/CH9xcL-2pBNSY key and value in a cell in a table that is inside a static table control cell.
At the moment, for the cell in which the table has created a file with a class and attached it to the cell.
The question is, what to do next, what delegates to use and how to interact with the table inside this cell?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
ManWithBear, 2016-02-20
@ManWithBear

Don't mock yourself. Remove the useless static table, just make 3-4 views and where you plan to insert the table now, make a single table.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question