Multiple Sections Diffable DataSource
AppStore JSON APIs
To support multiple sections in our new datasource, we'll have to use even more generic types during our declaration. Once we make this change, we'll need to be careful what kind of cells and objects we dequeue. Let's go ahead and include multiple sections containing very different object types this lesson.

Comments (2)
ZpecterZ80
3 years ago
Hi Brian, How can we get the name of every section directly from the datasource? Thank you very much.
shivaskanthan
3 years ago
So we can avoid using numberOfSections, numberOfItemsInSection and cellForItemAtIndexPath when using a DiffableDataSource. I really like how clean the architecture is. The explanation in this video is 5 stars Brian. Thanks a lot!
HELP & SUPPORT