title: Add individual cell to UiCollectionView
body: <p>I'm attempting to create a custom cell at the end of my <code>UICollectionViewCell</code>. The last item should be an "custom cell" so the user can add another record. Tried some solutions but without success. My code so far seems like this:</p>
  
  <pre><code>func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -&gt; UICollectionViewCell {
          let cell = collectionView.dequeueReusableCell(withReuseIdentifier: "cell", for: indexPath as IndexPath) as! EquipamentosCollectionViewCell
          if (indexPath as NSIndexPath).row == 0 {
              cell.imgEquip?.image = UIImage(named: "novavisita")
              return cell
          }else{
              cell.backgroundColor = UIColor.green
              return cell
          }
  }
  </code></pre>
  
  <p>I also tried <a href="https://stackoverflow.com/questions/36146462/adding-a-static-cell-to-a-uicollectionview">this solution</a>, but it`s not how I want it to work.</p>
  
  <p>The problem is that it's replacing the first.</p>
  
  <p>Any suggestions of how to do that?</p>