 class ComposerViewController: UIViewController, ModuleSelectorViewControllerDelegate, UITextViewDelegate, UITableViewDelegate, UITableViewDelegateReorderExtension {
 
     @IBOutlet var tableView: UITableView!
+    var deleteComposerModuleView: DeleteComposerModuleView!
+    var initialIndexPathForMovingRow: NSIndexPath!
     
     var tableViewDataSource: ComposerTableViewDataSource!
     var currentlyEditingTextView: UITextView?

            
        }
    }
    

}

    
    func tableView(tableView: UITableView!, endedMovingRowAtPoint point: CGPoint) {
        println("Position of moving row ended at point: \(point)")
        let translatedPoint = tableView.convertPoint(point, toView: deleteComposerModuleView)
        if deleteComposerModuleView.pointInside(translatedPoint, withEvent: nil){
            deleteComposerModule()
        }
        
    }
    
    func deleteComposerModule(){
        if initialIndexPathForMovingRow != nil {
            println("Delete")
        }
        initialIndexPathForMovingRow = nil

        deleteComposerModuleView.hide()
    }
    
    // MARK: - TableView Setup
