For the simple table you have to start from SectionModel<Section, ItemType> where ItemType is your DataSource element type. For the animated table you need to use AnimatableSectionModel<Section, ItemType>. Depending on model type, its item has to conform to a specific protocol:
- For the first case it's enough Equatable
- For the second you need to add IdentifiableType to Equatable