List adapter in iOS — Sections #3
Sep 8, 2018 · 2 min read

In my previous articles I created simple adapter and complex adapter with many different cells. Now I want to go step further and create adapter that can contain many sections.
To do this I had to create one more protocol for table section
And I also had to improve my previous version of adapter
This version allows me to create simple implementation of plain table view and grouped with new section adapter.
Now I create view and presenter for header (similar as cells)
Of course view (like cells) have to be registered
And finally we can create data source for our new adapter
I didn’t create the footer but as you’ve probably noticed, you can do it analogically to the header.

Source
Thank you for reading! If you liked this article, please clap so other people can read it too. I will also have more motivation for next article :) You can also see my other articles, maybe you will find something for you.
If you have any question or suggestion leave a comment.
