         self.scrollView.addSubview(self.refreshControl!)
         
         self.delegate = self
+        self.dropDelegate = self
         //self.isHidingEnabled = false
     }
 


import UIKit

class ExampleViewController: T2GViewController, T2GViewControllerDelegate {
    
    var modelArray: [Int] = []
    

    func willRemoveCellAtIndexPath(indexPath: NSIndexPath) {
        self.modelArray.removeAtIndex(indexPath.row)
    }
    
    //MARK: T2GDrop delegate methods
    
    func didDropCell(cell: T2GCell, onCell: T2GCell, completion: () -> Void, failure: () -> Void) {
        if onCell.tag % 2 != 0 {
            failure()
        } else {
            completion()
        }
    }
}

