iOSDesignPatternSamples icon indicating copy to clipboard operation
iOSDesignPatternSamples copied to clipboard

How to build a Table View with multiple cell types

Open VineFiner opened this issue 7 years ago • 0 comments

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?

VineFiner avatar Mar 31 '19 05:03 VineFiner