Reusable data sources in Swift — Swift by Sundell
www.swiftbysundell.comLists and collections of items are arguably two of the most common types of UIs found in apps - rendered through a UITableView or a UICollectionView. This article takes a look at how we can implement data sources for table- and collection views in a more reusable manner, and how doing so can let us make our list-based UI code more composable and easier to work with.
Read more...