title: Having one Main sticky Header with Multiple Sections of UICollection views? Xcode - Swift
body: <p>I've got multiple sections of a UICollectionView, that change from a grid layout to list layout and I'm trying to use a sticky header to pin to the top and have it stay they while scrolling through all the different sections.
  Is this possible?</p>
  
  <p>Is a function similar to  </p>
  
  <pre><code> override func numberOfSections(in collectionView: UICollectionView) -&gt; Int {
          return 4
      }
  </code></pre>
  
  <p>That can choose which sections can have a heading and which shouldn't? or have one heading belonging to multiple sections?</p>
  
  <p>Any input would be greatly appreciated!</p>
  
  <p>Cheers</p>