When adding a custom flow layout to a collection view the accessories option go away, Why?, I used this flow layout to center elements of my collection view, but since there's no way to add a section header to my collection view using the storyboard, what are the steps to add a header for the collection view?
What I tried was:
Since my custom layout is a subclass of UICollectionViewFlowLayout, at the storyboard editor I selected the layout (yellow cube) in the left object lister. Then at the Identity Inspector I selected the class of my custom layout.
The collection view seems to create the space for the header, but nothing is displayed inside of it, even if I only ser another background color to the reusable view, it doesn't display anything.