Skip to content

How to build a Table View with multiple cell types #10

@VineFiner

Description

@VineFiner

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions