Adding tableviewcell inside a uitableviewcell and have delete action in Swift
<p>I am having 3 tableview cells in a TableView, independent of each other i.e. each cell has its own functionality/feature. </p>

<p>Now, in the 3rd cell, I need to have a button that can add rows one below the other and also should be deletable. This is for adding or deleting contact phones for a given user. </p>

<p><strong>E.g.</strong> There should be a row, with text field in it to enter text. And beside it, there should be a "plus" button so I can add one more row below the existing row. And there is also a trash icon to delete the row.</p>

<p><strong>Existing 3rd cell</strong></p>

<p><a href="https://i.stack.imgur.com/pCtWB.png" rel="nofollow"><img src="https://i.stack.imgur.com/pCtWB.png" alt="enter image description here"></a></p>

<p><strong>Need to be implemented like -</strong></p>

<p><a href="https://i.stack.imgur.com/gRe22.png" rel="nofollow"><img src="https://i.stack.imgur.com/gRe22.png" alt="sample showing two rows of contact numbers, and delete icon beside the row"></a></p>

<p>How do I implement this scenario inside an already existing custom tableView cell? I understand that it's easily possible by using custom cells and cell properties like Edit action but how do I implement this within a UITableViewCell?</p>

<p><strong>Note</strong>: I am at a time situation where I cannot disturb the existing cells and modify things. :-(  </p>