title: UICollectionView Multiple Sections and Headers
body: <p>I am struggling trying to do multiple sections in my collection view with a header for each section. I don't know Obj-C and I've found a good amount of tutorials for it, but haven't been able to figure out how to convert it into Swift. </p>
  
  <p>All my data is static so all I need is some sort of array or dictionary that I can use to create the multiple sections. I already have a collection view with 1 section working, so if you have any insight or code for multiple sections that'd be helpful. </p>
  
  <p>I know how to set multiple sections using </p>
  
  <pre><code>func numberOfSectionsInCollectionView(collectionView: UICollectionView) -&gt; Int   {
      return sectionData.count
  }
  </code></pre>
  
  <p>I think the main thing I need help with is implementing this func</p>
  
  <pre><code>func collectionView(collectionView: UICollectionView, cellForItemAtIndexPath indexPath: NSIndexPath) -&gt; UICollectionViewCell { }
  </code></pre>
  
  <p>and setting up the data! </p>
  
  <p>UICollectionView and UITableView are almost exactly the same, so if you know how to do multiple sections in a UITableView in Swift, your help is also appreciated</p>