It would be nice to get away with declaring a constant for every reuse identifier of cells in our app: with this common approach is very easy to make mistakes (and clearly it does not fits in a Swift world).
I’ve used this approach to simplify my everyday work both with UITableView and UICollectionView ; from this work I’ve created Flow, a new approach to manage UITableView.
▶︎ Check it now! it will save you tons of code!
We can just use the name of the custom cell class as a default reuse identifier.
First of all we can create a ReusableViewProtocol which is responsible to provide the identifier of cell.