title: UICollectionViewCell - Edit mode
body: <p>I am working on an app in which i've implemented edit mode in <code>UICollectionView</code>.I am trying to implement something like this : </p>
  
  <p><img src="https://i.stack.imgur.com/XvY2d.jpg" alt="enter image description here"></p>
  
  <p>when i click on edit button,camera button and eye button should get hidden and delete and rename button should appear like this : </p>
  
  <p><img src="https://i.stack.imgur.com/piwMP.jpg" alt="enter image description here"></p>
  
  <p>And after editing,when i click on "Done" button,delete button and rename button should get hidden and camera button and eye button should get appeared again. I've tried it but it is giving me some weird output. Everything is working fine except this "edit" button functioning. Can anyone suggest me any way to resolve this. Suggestions will be appreciated. Please provide some suggestions. Thanks in advance. </p>