iOS UITableViewCell, UICollectionViewCell, UITableViewHeaderFooterView And UICollectionReusableView Dequeing And Registering — Using Swift Protocol & Generics

medium.com

The use of Swift’s generics and protocols would help you to reduce the code cluttering and easy usage of registering and reusing TableView and CollectionView Cells, HeaderFooterViews and ReusableSupplementary Views without need to maintain ugly static string constant in every cell class.

Read more...
Linkedin

Want to receive more content like this in your inbox?