Beginning Collection Views - Part 16: Section 2: | Ray Wenderlich

Customize your section headers to display more information about each section and better organize your collection view.


This is a companion discussion topic for the original entry at https://www.raywenderlich.com/4448-beginning-collection-views/lessons/16

After completing part 16, the program seems to work as described, but noticed that the section count does not get updated if we add a new item to a section currently on screen. If I force the section off screen, then bring that section back on, the count is updated. I know we can’t call reloaddata, so what would be fix for this? Should we add a call to update the section count when we add an item?

You’ve posted the same message for two different videos. The actual section headers are added after video 13. So is there a reason for asking this question for two unrelated videos? Just curious …

As far as the answer to your question goes, please take a look at the following Stack Overflow thread: