What should I do if I use a different cell? If you configure a TableViewDataSource.
I have two examples, but I don't feel perfect.
https://medium.com/@stasost/ios-how-to-build-a-table-view-with-multiple-cell-types-2df91a206429
https://medium.com/@IanKeen/separation-of-concerns-ui-edition-1916a35a6899
I don't want to use enumerations to represent types. But what if the button has a button callback on the cell?