Kanban board layout with UICollectionViewCompositionalLayout

Hi, I'm trying to code a kanban board (like Trello) with UICompositionalLayout, but I'm unable to create regular section headers. Instead section headers are overlapping the content cells. Here is a link to the demo project: demo project

Thank you.

Answered by DTS Engineer in 795853022

@rsusa7 Thanks for providing the sample project. Could you review Implementing Modern Collection Views Sample code. It contains examples of how to add headers and footers to sections and how to pin section headers to Sections. The examples should help address your issue. Thanks

@rsusa7 Thanks for providing the sample project. Could you review Implementing Modern Collection Views Sample code. It contains examples of how to add headers and footers to sections and how to pin section headers to Sections. The examples should help address your issue. Thanks

Hi @DTS Engineer thank you for your reply.

I have already reviewed the sample code prior to asking my question and it's also worth mentioning that I have implemented various compositional layout configurations with section headers without any problem.

However, when I attempted to implement this specific configuration (Kanban), I ran into issues with the headers. To clarify, I don't want the headers pinned, I want them to be on top of the content and scoll with the reste of the content when I scroll up and down, just like they would in a tableView.

I would appreciate some insights. Thank you.

Kanban board layout with UICollectionViewCompositionalLayout
 
 
Q