title: How to drag and drop collection view cell from 1 to another uicollectionview
body: <p>Here the scenario.</p>
  
  <p>I have a <code>UITableView</code> With Multiple Section. Each Section Contains exact 1 row.
  And each row contains a <code>UICollectionView</code>.</p>
  
  <pre><code>----------------------------------
  TablViewSection 1
  ----------------------------------
  |--------------| |--------------|
  |  Collection  | |  Collection  |
  |   View Cell  | |   View Cell  |
  |--------------| |--------------|
  
  ----------------------------------
  TablViewSection 2
  ----------------------------------
  |--------------| |--------------|
  |  Collection  | |  Collection  |
  |   View Cell  | |   View Cell  |
  |--------------| |--------------|
  </code></pre>
  
  <p>This is how it is like.   </p>
  
  <p>This is working perfect.</p>
  
  <p>But here is what i want to do : I want to drag <code>CollectionViewCell</code> of First section to second section's <code>UICollectionView</code>.</p>
  
  <p>I applied <code>PanGesture</code> on <code>CollectionViewCell</code> and below is the selector method of panGesture. Using below code I am able to drag collection view cell but not able to drop to second section's collection view.</p>
  
  <pre><code>-(void)handlePan:(UIGestureRecognizer *)panRecognizer {
  
      UICollectionView *collectionViewRef =   [[panRecognizer view] superview];
  
      CGPoint locationPoint = [panRecognizer locationInView:[[panRecognizer view] superview]];
  
      UICollectionViewCell *cellRef = [panRecognizer view];
  
      if (panRecognizer.state == UIGestureRecognizerStateBegan) {
  
          NSIndexPath *indexPathOfMovingCell = [collectionViewRef indexPathForItemAtPoint:locationPoint];
          UICollectionViewCell *cell = [collectionViewRef cellForItemAtIndexPath:indexPathOfMovingCell];
  
          UIGraphicsBeginImageContext(cell.bounds.size);
          [cell.layer renderInContext:UIGraphicsGetCurrentContext()];
          UIImage *cellImage = UIGraphicsGetImageFromCurrentImageContext();
          UIGraphicsEndImageContext();
      }
  
      if (panRecognizer.state == UIGestureRecognizerStateChanged) {
      //        [self.movingCell setCenter:locationPoint];
                [cellRef setCenter:locationPoint];
      }
  
      if (panRecognizer.state == UIGestureRecognizerStateEnded) {
      //        [self.movingCell removeFromSuperview];
                [cellRef removeFromSuperview];
      }
  }
  </code></pre>